Problem | segmenttree |
---|---|
User | Arwanthugshakerbutbetter |
Submission Time | 2023-08-16 16:39:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:112:20: error: no matching function for call to ‘node::set(int&, int&)’
112 | root->set(a,b);
| ^
segmenttree.cpp:62:10: note: candidate: ‘void node::set(int, int, ll)’
62 | void set(int x, int y, ll v) {
| ^~~
segmenttree.cpp:62:10: note: candidate expects 3 arguments, 2 provided