Problem sequence_apio
User PlayVoltz
Submission Time 2023-10-16 01:11:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sequence_apio.cpp: In function ‘int main()’:
sequence_apio.cpp:53:2: error: ‘ll’ was not declared in this scope
53 | ll maxi = -1e9; int in;
| ^~
sequence_apio.cpp:54:39: error: ‘maxi’ was not declared in this scope
54 | for(int i=1;i<=n;i++)if(dp[i][k%2] > maxi)maxi = dp[i][k%2], in = i;
| ^~~~
sequence_apio.cpp:55:10: error: ‘maxi’ was not declared in this scope
55 | cout << maxi << '\n';
| ^~~~