Problem | segmenttree |
---|---|
User | itsLQ |
Submission Time | 2024-09-24 16:19:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In member function ‘void node::update(int, int)’:
segmenttree.cpp:20:40: error: no matching function for call to ‘node::update(int&)’
20 | (n <= m ? lc : rc) -> update(_v);
| ^
segmenttree.cpp:15:10: note: candidate: ‘void node::update(int, int)’
15 | void update(int n, int _v) {
| ^~~~~~
segmenttree.cpp:15:10: note: candidate expects 2 arguments, 1 provided