| Problem | segmenttree |
|---|---|
| User | chickengoat |
| Submission Time | 2025-12-03 16:29:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In constructor ‘node::node(ll, ll)’:
segmenttree.cpp:15:9: error: ‘L’ was not declared in this scope
15 | L = new node(S, M);
| ^
segmenttree.cpp:16:9: error: ‘R’ was not declared in this scope
16 | R = new node(M + 1, E);
| ^
segmenttree.cpp: In member function ‘void node::update(ll, ll)’:
segmenttree.cpp:26:13: error: ‘L’ was not declared in this scope
26 | L->update(pos, newval);
| ^
segmenttree.cpp:28:13: error: ‘R’ was not declared in this scope
28 | R->update(pos, newval);
| ^
segmenttree.cpp:30:19: error: ‘L’ was not declared in this scope
30 | val = min(L->val, R->val);
| ^
segmenttree.cpp:30:27: error: ‘R’ was not declared in this scope
30 | val = min(L->val, R->val);
| ^
segmenttree.cpp: In m