Problem | 3nplus1 |
---|---|
User | AdwinLau |
Submission Time | 2024-04-05 17:13:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:2: error: ‘str’ was not declared in this scope; did you mean ‘std’?
7 | str output = "";
| ^~~
| std
3nplus1.cpp:9:2: error: ‘output’ was not declared in this scope
9 | output = to_string(n);
| ^~~~~~
3nplus1.cpp: At global scope:
3nplus1.cpp:24:1: error: ‘cout’ does not name a type
24 | cout << output;
| ^~~~
3nplus1.cpp:25:1: error: expected declaration before ‘}’ token
25 | }
| ^