Problem lis
User helloworld
Submission Time 2024-03-01 15:27:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp: In function ‘int main()’:
lis.cpp:6:15: error: ‘i’ was not declared in this scope
6 | int a[n], dp[i];
| ^
lis.cpp:10:4: error: ‘dp’ was not declared in this scope
10 | dp[i] = a[i];
| ^~
lis.cpp:13:14: error: ‘dp’ was not declared in this scope
13 | if(a[i] > dp[s]) {
| ^~