Problem samelength
User chenweilian
Submission Time 2023-04-20 21:18:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

samelength.cpp: In function ‘int main()’:
samelength.cpp:5:2: error: ‘string’ was not declared in this scope; did you mean ‘stdin’?
5 | string s = "";
| ^~~~~~
| stdin
samelength.cpp:7:3: error: ‘s’ was not declared in this scope
7 | s += '0';
| ^
samelength.cpp:9:2: error: ‘cout’ was not declared in this scope
9 | cout<<s;
| ^~~~
samelength.cpp:9:8: error: ‘s’ was not declared in this scope
9 | cout<<s;
| ^