Problem lis_easy
User thelusidian
Submission Time 2024-04-17 16:21:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:6:2: error: ‘LIS’ was not declared in this scope
6 | LIS[1] = 1;
| ^~~
lis_easy.cpp:9:18: error: ‘n’ was not declared in this scope
9 | for(int i=2; i<=n; i++){
| ^
lis_easy.cpp:12:3: error: ‘maxLISSoFar’ was not declared in this scope
12 | maxLISSoFar = -1;
| ^~~~~~~~~~~
lis_easy.cpp:14:7: error: ‘a’ was not declared in this scope
14 | if(a[k] < a[i]){
| ^
lis_easy.cpp:23:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
23 | cout << LIS[n];
| ^
| yn