Problem | 3nplus1II |
---|---|
User | joshua2152 |
Submission Time | 2023-05-03 15:08:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:7:2: error: ‘ls’ was not declared in this scope
7 | ls = [];
| ^~
3nplus1II.cpp: In lambda function:
3nplus1II.cpp:7:9: error: expected ‘{’ before ‘;’ token
7 | ls = [];
| ^
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:24:6: error: expected ‘{’ before ‘cout’
24 | try cout >> ls[a+1];
| ^~~~
3nplus1II.cpp:24:6: error: expected ‘catch’ before ‘cout’
3nplus1II.cpp:24:6: error: expected ‘(’ before ‘cout’
24 | try cout >> ls[a+1];
| ^~~~
| (
3nplus1II.cpp:24:6: error: ‘cout’ does not name a type
24 | try cout >> ls[a+1];
| ^~~~
3nplus1II.cpp:24:10: error: expected ‘)’ before ‘>>’ token
24 | try cout >> ls[a+1];
| ~~~~^~~
| )
3nplus1II.cpp:24:11: error: expected ‘{’ before ‘>>’ token
24 | try cout &g