Problem | lis_easy |
---|---|
User | JK13 |
Submission Time | 2023-11-10 09:42:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:11:22: error: expected ‘;’ before ‘)’ token
11 | for(0 <= j >= i-1) { // before me
| ^
| ;
lis_easy.cpp:20:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
20 | cout << ans;
| ^~~
| abs
lis_easy.cpp:21:5: error: expected primary-expression before ‘return’
21 | return 0;
| ^~~~~~
lis_easy.cpp:20:17: error: expected ‘)’ before ‘return’
20 | cout << ans;
| ^
| )
21 | return 0;
| ~~~~~~
lis_easy.cpp:11:8: note: to match this ‘(’
11 | for(0 <= j >= i-1) { // before me
| ^