Problem lis_easy
User chiefoggy
Submission Time 2023-12-20 15:58:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int lis(int)’:
lis_easy.cpp:11:9: error: ‘dp’ was not declared in this scope
11 | if (dp[idx] != -1) return dp[idx];
| ^~
lis_easy.cpp:16:12: error: ‘dp’ was not declared in this scope
16 | return dp[idx] = extend + 1;
| ^~