Problem lis_easy
User Schzeey
Submission Time 2023-02-17 19:58:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int longestIncreasingSequence(int*, int)’:
lis_easy.cpp:8:17: error: ‘dp_arr’ was not declared in this scope
8 | dp_arr [i] = max(dp_arr[i], dp_arr[j]+1);
| ^~~~~~