Problem | lis_easy |
---|---|
User | tomatofrog0w0 |
Submission Time | 2023-11-10 10:42:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:15:23: error: ‘lis’ was not declared in this scope
15 | memset (LIS, 0,sizeof(lis));
| ^~~
lis_easy.cpp:16:2: error: expected primary-expression before ‘int’
16 | (int i = 0; i < n; ++i){
| ^~~
lis_easy.cpp:16:2: error: expected ‘)’ before ‘int’
16 | (int i = 0; i < n; ++i){
| ~^~~
| )
lis_easy.cpp:16:13: error: ‘i’ was not declared in this scope
16 | (int i = 0; i < n; ++i){
| ^
lis_easy.cpp: At global scope:
lis_easy.cpp:38:2: error: expected unqualified-id before ‘return’
38 | return 0;
| ^~~~~~
lis_easy.cpp:40:1: error: expected declaration before ‘}’ token
40 | }
| ^