Problem lis
User j0ashhh
Submission Time 2026-02-20 22:28:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp: In function ‘int lis(std::vector<int>&)’:
lis.cpp:6:25: error: ‘x’ was not declared in this scope
6 | for(int i=1; i<n; i++){x
| ^
lis.cpp:7:19: error: parse error in template argument list
7 | for(int prev=0; prev<i; prev++){
| ^~~~~~
lis.cpp:7:19: error: statement cannot resolve address of overloaded function
lis.cpp:7:31: error: no post-increment operator for type
7 | for(int prev=0; prev<i; prev++){
| ^~