Problem lis_easy
User ultbiaslia
Submission Time 2023-11-10 10:59:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp:7:1: error: expected initializer before ‘int’
7 | int N;
| ^~~
lis_easy.cpp:9:5: error: expected unqualified-id before ‘for’
9 | for (int i = 0; i < n; i++)
| ^~~
lis_easy.cpp:9:21: error: ‘i’ does not name a type
9 | for (int i = 0; i < n; i++)
| ^
lis_easy.cpp:9:28: error: ‘i’ does not name a type
9 | for (int i = 0; i < n; i++)
| ^
lis_easy.cpp:11:18: error: ‘i’ does not name a type
11 | for (int i = 0; i < n; i++)
| ^
lis_easy.cpp:11:25: error: ‘i’ does not name a type
11 | for (int i = 0; i < n; i++)
| ^
lis_easy.cpp:13:5: error: expected unqualified-id before ‘for’
13 | for (int j = 0; j < i; j++)
| ^~~
lis_easy.cpp:13:21: error: ‘j’ does not name a type; did you mean ‘jn’?
13 | for (int j = 0; j <