| Problem | segmenttree |
|---|---|
| User | chickengoat |
| Submission Time | 2025-12-03 16:35:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In member function ‘void node::update(ll, ll)’:
segmenttree.cpp:31:13: error: ‘L’ was not declared in this scope
31 | L->update(pos, newval);
| ^
segmenttree.cpp:33:13: error: ‘R’ was not declared in this scope
33 | R->update(pos, newval);
| ^
segmenttree.cpp:35:19: error: ‘L’ was not declared in this scope
35 | val = min(L->val, R->val);
| ^
segmenttree.cpp:35:27: error: ‘R’ was not declared in this scope
35 | val = min(L->val, R->val);
| ^
segmenttree.cpp: In member function ‘ll node::query(ll, ll)’:
segmenttree.cpp:41:20: error: ‘L’ was not declared in this scope
41 | return min(L->query(first, last), R->query(first, last));
| ^
segmenttree.cpp:41:43: error: ‘R’ was not declared in this scope
41 | retu