Problem lis_easy
User Maggie
Submission Time 2023-11-10 10:17:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:6:20: error: expected ‘;’ before ‘)’ token
6 | for (0 <= j <= i-1){
| ^
| ;
lis_easy.cpp:17:1: error: expected primary-expression at end of input
17 | }
| ^
lis_easy.cpp:17:2: error: expected ‘;’ at end of input
17 | }
| ~^
| ;
lis_easy.cpp:17:1: error: expected primary-expression at end of input
17 | }
| ^
lis_easy.cpp:17:2: error: expected ‘)’ at end of input
17 | }
| ~^
| )
lis_easy.cpp:6:6: note: to match this ‘(’
6 | for (0 <= j <= i-1){
| ^
lis_easy.cpp:17:1: error: expected statement at end of input
17 | }
| ^
lis_easy.cpp:17:1: error: expected ‘}’ at end of input
lis_easy.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^