| Problem | rmaxq |
|---|---|
| User | chickengoat |
| Submission Time | 2025-12-03 17:03:56 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
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
rmaxq.cpp:50:24: error: ‘b’ was not declared in this scope
50 | cout <<segtree->qry(b,c) << "\n";
| ^
rmaxq.cpp:50:26: error: ‘c’ was not declared in this scope
50 | cout <<segtree->qry(b,c) << "\n";
| ^