Problem | rmq |
---|---|
User | ThePwo |
Submission Time | 2025-03-19 19:23:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rmq.cpp: In function ‘int32_t main()’:
rmq.cpp:67:30: error: no matching function for call to ‘node::query(const int&, const int&)’
67 | if (root->query(qy.l, qy.r) != qy.v) {
| ^
rmq.cpp:41:6: note: candidate: ‘int node::query(int)’
41 | int query(int p) {
| ^~~~~
rmq.cpp:41:6: note: candidate expects 1 argument, 2 provided