| Problem | segmenttree |
|---|---|
| User | chatdanai |
| Submission Time | 2026-09-01 16:25:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
segmenttree.cpp: In function ‘long long int rmq(long long int, long long int)’:
segmenttree.cpp:14:10: error: ‘s’ was not declared in this scope
14 | if (x<=s && e<=y) return val;
| ^
segmenttree.cpp:14:15: error: ‘e’ was not declared in this scope
14 | if (x<=s && e<=y) return val;
| ^
segmenttree.cpp:14:28: error: ‘val’ was not declared in this scope
14 | if (x<=s && e<=y) return val;
| ^~~
segmenttree.cpp:15:9: error: ‘m’ was not declared in this scope
15 | if (x>m) return r->rmq(x,y);
| ^
segmenttree.cpp:15:19: error: ‘r’ was not declared in this scope
15 | if (x>m) return r->rmq(x,y);
| ^
segmenttree.cpp:16:9: error: ‘m’ was not declared in this scope
16 | if (y<m) return l->rmq(x,y);
| ^
segmenttree.cpp:16:19: error: ‘l’ was not declared in