| Problem | segmenttree |
|---|---|
| User | weiheng |
| Submission Time | 2026-09-01 16:25:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In constructor ‘node::node(int, int)’:
segmenttree.cpp:11:20: error: ‘c’ was not declared in this scope
11 | r=new node(m+1,c);
| ^
segmenttree.cpp: In function ‘int rmq(int, int)’:
segmenttree.cpp:16:10: error: ‘s’ was not declared in this scope
16 | if (x>=s and y<=e) return val;
| ^
segmenttree.cpp:16:19: error: ‘e’ was not declared in this scope
16 | if (x>=s and y<=e) return val;
| ^
segmenttree.cpp:16:29: error: ‘val’ was not declared in this scope
16 | if (x>=s and y<=e) return val;
| ^~~
segmenttree.cpp:17:9: error: ‘m’ was not declared in this scope
17 | if (x>m) return r->rmq(x,y);
| ^
segmenttree.cpp:17:19: error: ‘r’ was not declared in this scope
17 | if (x>m) return r->rmq(x,y);
| ^
segmenttree.cpp:18: