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

Compile Error

lis_easy.cpp:7:1: error: expected initializer before ‘cin’
7 | cin.tie(NULL);
| ^~~
lis_easy.cpp:10:5: error: expected unqualified-id before ‘for’
10 | for (int i = 0; i < n; ++i)
| ^~~
lis_easy.cpp:10:21: error: ‘i’ does not name a type
10 | for (int i = 0; i < n; ++i)
| ^
lis_easy.cpp:10:28: error: expected unqualified-id before ‘++’ token
10 | for (int i = 0; i < n; ++i)
| ^~
lis_easy.cpp:12:18: error: ‘i’ does not name a type
12 | for (int i = 0; i < n; ++i)
| ^
lis_easy.cpp:12:25: error: expected unqualified-id before ‘++’ token
12 | for (int i = 0; i < n; ++i)
| ^~
lis_easy.cpp:14:5: error: expected unqualified-id before ‘for’
14 | for (int j = 0; j < i; j++)
| ^~~
lis_easy.cpp:14:21: error: ‘j’ does not name a type
14