Problem rmaxq
User FIips
Submission Time 2025-02-07 10:38:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp: In member function ‘long long int node::rqry(long long int, long long int)’:
rmaxq.cpp:51:43: error: ‘struct node’ has no member named ‘query’
51 | return max(l -> rqry(left, right), r -> query(left, right));
| ^~~~~
rmaxq.cpp: In function ‘int32_t main()’:
rmaxq.cpp:97:4: error: ‘rupd’ was not declared in this scope
97 | rupd(x, y, val);
| ^~~~