| Problem | lis_easy |
|---|---|
| User | LL |
| Submission Time | 2026-02-16 15:13:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘ll dp(int, int)’:
lis_easy.cpp:16:2: error: expected ‘}’ before ‘else’
16 | else{
| ^~~~
lis_easy.cpp:10:20: note: to match this ‘{’
10 | if(curr >= arr[l]){
| ^
lis_easy.cpp:19:27: error: ‘i’ was not declared in this scope
19 | dp_arr[l] = max(dp(arr[i], l+1) + 1, dp(curr, l+1));
| ^