Problem segmenttree
User maximushartanto
Submission Time 2025-12-28 17:30:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘void node::update(int, int)’:
segmenttree.cpp:28:7: error: ‘lhs’ was not declared in this scope
28 | v = lhs->v = rhs->v;
| ^~~
segmenttree.cpp:28:16: error: ‘rhs’ was not declared in this scope
28 | v = lhs->v = rhs->v;
| ^~~