Problem lis_easy
User kashsinghal
Submission Time 2023-11-10 09:43:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:16:8: error: ‘LIA’ was not declared in this scope; did you mean ‘LIS’?
16 | cin >> LIA;
| ^~~
| LIS
lis_easy.cpp:23:5: error: ‘i’ was not declared in this scope
23 | f(n[i] < n[LIS]);
| ^
lis_easy.cpp:23:15: error: invalid types ‘int[int]’ for array subscript
23 | f(n[i] < n[LIS]);
| ^
lis_easy.cpp:23:1: error: ‘f’ was not declared in this scope
23 | f(n[i] < n[LIS]);
| ^
lis_easy.cpp:24:27: error: invalid types ‘int[int]’ for array subscript
24 | LIS[i] = max(LIS[i], LIS[n]+1);
| ^
lis_easy.cpp:28:1: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
28 | ans = max(ans, LIS[i]);
| ^~~
| abs