Problem | lis_easy |
---|---|
User | Dana |
Submission Time | 2023-11-10 10:23:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:15:11: error: ‘j’ was not declared in this scope
15 | if (arr[j] < arr[i]){
| ^
lis_easy.cpp:19:10: error: ‘i’ was not declared in this scope
19 | if (lis[i]==0){
| ^
lis_easy.cpp: At global scope:
lis_easy.cpp:24:1: error: expected unqualified-id before ‘for’
24 | for (int i=0; i < N; i++){
| ^~~
lis_easy.cpp:24:15: error: ‘i’ does not name a type
24 | for (int i=0; i < N; i++){
| ^
lis_easy.cpp:24:22: error: ‘i’ does not name a type
24 | for (int i=0; i < N; i++){
| ^
lis_easy.cpp:28:2: error: expected unqualified-id before ‘return’
28 | return 0;
| ^~~~~~
lis_easy.cpp:29:1: error: expected declaration before ‘}’ token
29 | }
| ^