| Problem | segmenttree2 |
|---|---|
| User | maximushartanto |
| Submission Time | 2025-12-28 17:40:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp: In member function ‘void node::push()’:
segmenttree2.cpp:24:15: error: ‘x’ was not declared in this scope
24 | lhs->apply(x);
| ^
segmenttree2.cpp: In member function ‘i64 node::query(int, int)’:
segmenttree2.cpp:56:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
56 | ans += lhs->query(l, r);
| ^~~
| abs
segmenttree2.cpp:59:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
59 | ans += rhs->query(l, r);
| ^~~
| abs
segmenttree2.cpp:62:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
62 | return ans;
| ^~~
| abs