Problem | segmenttree |
---|---|
User | PanGD |
Submission Time | 2023-01-26 20:53:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In function ‘void build(int, int, int)’:
segmenttree.cpp:35:38: error: too many arguments to function ‘void build(int, int, int)’
35 | build(2*node, start, mid, arr);
| ^
segmenttree.cpp:28:6: note: declared here
28 | void build(int node, int start, int end) {
| ^~~~~
segmenttree.cpp:36:40: error: too many arguments to function ‘void build(int, int, int)’
36 | build(2*node+1, mid+1, end, arr);
| ^
segmenttree.cpp:28:6: note: declared here
28 | void build(int node, int start, int end) {
| ^~~~~