Problem | segmenttree |
---|---|
User | Kiameimon |
Submission Time | 2024-10-17 01:13:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In constructor ‘node::node(int, int)’:
segmenttree.cpp:19:47: error: class ‘node’ does not have any field named ‘lazy’
19 | node(int s, int e) : S(s), E(e), val(ID), lazy(ID) {
| ^~~~
segmenttree.cpp: In member function ‘void node::upd(int, node::U)’:
segmenttree.cpp:59:12: error: ‘l’ was not declared in this scope; did you mean ‘ll’?
59 | if(l > E || r < S) return;
| ^
| ll
segmenttree.cpp:59:21: error: ‘r’ was not declared in this scope
59 | if(l > E || r < S) return;
| ^
segmenttree.cpp:65:19: error: ‘l’ was not declared in this scope; did you mean ‘ll’?
65 | left->upd(l, r, v);
| ^
| ll
segmenttree.cpp:65:22: error: ‘r’ was not declared in this scope
65 | left->upd(l, r, v);
|