Problem rmaxq
User chickengoat
Submission Time 2025-12-04 13:44:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp:5:18: error: size of array ‘init’ exceeds maximum object size ‘9223372036854775807’
5 | ll init[LLONG_MAX];
| ^
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