Problem | sterilizing |
---|---|
User | JoshJuice |
Submission Time | 2025-08-04 21:27:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sterilizing.cpp: In function ‘int main()’:
sterilizing.cpp:118:24: error: no matching function for call to ‘node::update(int&, ll&)’
118 | root -> update(i, x);
| ^
sterilizing.cpp:90:8: note: candidate: ‘void node::update(int, int, int)’
90 | void update(int X, int V, int k) {
| ^~~~~~
sterilizing.cpp:90:8: note: candidate expects 3 arguments, 2 provided
sterilizing.cpp:127:26: error: no matching function for call to ‘node::update(int&, ll&)’
127 | root -> update(x, y);
| ^
sterilizing.cpp:90:8: note: candidate: ‘void node::update(int, int, int)’
90 | void update(int X, int V, int k) {
| ^~~~~~
sterilizing.cpp:90:8: note: candidate expects 3 arguments, 2 provided
sterilizing.cpp:135:31: error: no matching function for call to ‘node::sum(int&, int&)’
135 | cout << root -> sum(l, r) << '\n';