Problem rmaxq
User chickengoat
Submission Time 2025-12-03 17:04:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp:5:10: error: array bound is not an integer constant before ‘]’ token
5 | ll init[n];
| ^
rmaxq.cpp: In constructor ‘node::node(ll, ll)’:
rmaxq.cpp:12:19: error: ‘init’ was not declared in this scope; did you mean ‘int’?
12 | val = init[S];
| ^~~~
| int
rmaxq.cpp: In function ‘int main()’:
rmaxq.cpp:41:10: error: ‘init’ was not declared in this scope; did you mean ‘int’?
41 | cin >> init[i];
| ^~~~
| int