Problem segmenttree
User maximushartanto
Submission Time 2026-04-30 13:10:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘void node::update(int, int)’:
segmenttree.cpp:18:8: error: ‘x’ was not declared in this scope
18 | v = x;
| ^
segmenttree.cpp:22:19: error: ‘x’ was not declared in this scope
22 | lhs->update(p, x);
| ^
segmenttree.cpp:25:19: error: ‘x’ was not declared in this scope
25 | rhs->update(p, x);
| ^