Problem lis_easy
User Adflhjk
Submission Time 2023-11-10 10:28:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp:5:16: error: too many decimal points in number
5 | for j from 0...i-1: // before me
| ^~~~~
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:5:9: error: expected ‘(’ before ‘j’
5 | for j from 0...i-1: // before me
| ^
| (
lis_easy.cpp:5:9: error: ‘j’ was not declared in this scope
lis_easy.cpp:10:5: error: expected primary-expression before ‘return’
10 | return 0;
| ^~~~~~
lis_easy.cpp:8:30: error: expected ‘;’ before ‘return’
8 | if(LIS[i] == 0) LIS[i] = 1; // if still 0, itself
| ^
| ;
9 |
10 | return 0;
| ~~~~~~
lis_easy.cpp:10:5: error: expected primary-expression before ‘return’
10 | return 0;
| ^~~~~~
lis_easy.cpp:8:30: error: expected ‘)’ before ‘return’
8 | if(LIS[i] == 0) L