Problem lis_easy
User Enigma
Submission Time 2023-11-10 09:23:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:41:13: error: expected ‘;’ before ‘y’
41 | v.push_back y;
| ^~
| ;
lis_easy.cpp:41:4: error: statement cannot resolve address of overloaded function
41 | v.push_back y;
| ~~^~~~~~~~~
lis_easy.cpp:44:8: error: ‘lengthofLIS’ was not declared in this scope; did you mean ‘lengthOfLIS’?
44 | res = lengthofLIS(v);
| ^~~~~~~~~~~
| lengthOfLIS