Problem lis_easy
User Shuhxin
Submission Time 2024-06-29 11:14:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int LongestIncreasingSubsequenceLength(std::vector<int>&)’:
lis_easy.cpp:26:30: error: ‘length’ was not declared in this scope
26 | else if (v[i] > tail[length - 1])
| ^~~~~~
lis_easy.cpp:32:12: error: ‘length’ was not declared in this scope
32 | return length;
| ^~~~~~