| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 62185 | 张江鹏 | 字符串长度判断 | C++ | Compile Error | 0 MS | 0 KB | 241 | 2023-12-17 17:31:59 |
#include <stdio.h> using namespace std; int main(){ char a[100000000],q[1000000000001]; cin>>a,q; int n=strlen(s); int n1=strlen(s); cout<<s<<" "<<n; if(n1==n){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
cin>>a,q;
^
Main.cc:6:15: error: 's' was not declared in this scope
int n=strlen(s);
^
Main.cc:6:16: error: 'strlen' was not declared in this scope
int n=strlen(s);
^
Main.cc:8:2: error: 'cout' was not declared in this scope
cout<