Problem segmenttree
User PlayVoltz
Submission Time 2023-07-06 19:43:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘void update(int, int, int, int, int)’:
segmenttree.cpp:39:42: error: ‘addition’ was not declared in this scope
39 | update(2*index+1, low, mid, indexinp, addition);
| ^~~~~~~~
segmenttree.cpp:42:45: error: ‘addition’ was not declared in this scope
42 | update(2*index+2, mid+1, high, indexinp, addition);
| ^~~~~~~~