Problem lis_easy
User zach24
Submission Time 2023-07-30 01:33:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:23:17: error: ‘dp’ was not declared in this scope
23 | dp[i] = max(dp[i], dp[j]+1);
| ^~
lis_easy.cpp:26:24: error: ‘dp’ was not declared in this scope
26 | ans = max(ans, dp[i]);
| ^~