| Problem | lis_easy |
|---|---|
| User | BigBackAdrino |
| Submission Time | 2026-07-08 19:13:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lis_easy.cpp:10:33: error: use of parameter outside function body before ‘]’ token
10 | int LIS (int N, int X, int num[N]){
| ^
lis_easy.cpp: In function ‘int LIS(...)’:
lis_easy.cpp:12:6: error: ‘X’ was not declared in this scope
12 | if (X == N-1){
| ^
lis_easy.cpp:12:11: error: ‘N’ was not declared in this scope
12 | if (X == N-1){
| ^
lis_easy.cpp:15:14: error: ‘X’ was not declared in this scope
15 | if (checked[X] != 0){
| ^
lis_easy.cpp:19:22: error: ‘N’ was not declared in this scope
19 | for (int a = 1; a<=(N-X), a++){
| ^
lis_easy.cpp:19:24: error: ‘X’ was not declared in this scope
19 | for (int a = 1; a<=(N-X), a++){
| ^
lis_easy.cpp:19:31: error: expected ‘;’ before ‘)’ token
19 | for (int a = 1; a<=(N-X), a++){
|