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

Compile Error

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