Problem | segmenttree |
---|---|
User | gelastropod |
Submission Time | 2024-09-24 16:19:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In member function ‘void node::upd(long long int, long long int)’:
segmenttree.cpp:23:21: error: no matching function for call to ‘node::upd(long long int&)’
23 | l->upd(n);
| ^
segmenttree.cpp:15:10: note: candidate: ‘void node::upd(long long int, long long int)’
15 | void upd(int n, int x)
| ^~~
segmenttree.cpp:15:10: note: candidate expects 2 arguments, 1 provided
segmenttree.cpp:25:21: error: no matching function for call to ‘node::upd(long long int&)’
25 | r->upd(n);
| ^
segmenttree.cpp:15:10: note: candidate: ‘void node::upd(long long int, long long int)’
15 | void upd(int n, int x)
| ^~~
segmenttree.cpp:15:10: note: candidate expects 2 arguments, 1 provided