Problem segmenttree
User FIips
Submission Time 2024-12-04 11:36:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int32_t main()’:
segmenttree.cpp:52:4: error: ‘root’ was not declared in this scope; did you mean ‘rt’?
52 | root -> up(p, v);
| ^~~~
| rt
segmenttree.cpp:59:12: error: ‘root’ was not declared in this scope; did you mean ‘rt’?
59 | cout << root -> qry(a, b) << '\n';
| ^~~~
| rt