Problem segmenttree2
User bachnguyen123
Submission Time 2025-11-14 17:15:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp:43:9: error: ‘lz’ does not name a type
43 | lz = 0;
| ^~
segmenttree2.cpp:44:6: error: expected ‘;’ after struct definition
44 | }
| ^
| ;
segmenttree2.cpp: In function ‘long long int qry(int, int)’:
segmenttree2.cpp:47:9: error: ‘prop’ was not declared in this scope
47 | prop();
| ^~~~
segmenttree2.cpp:48:17: error: ‘s’ was not declared in this scope
48 | if(a == s && b == e) return val;
| ^
segmenttree2.cpp:48:27: error: ‘e’ was not declared in this scope
48 | if(a == s && b == e) return val;
| ^
segmenttree2.cpp:48:37: error: ‘val’ was not declared in this scope
48 | if(a == s && b == e) return val;
| ^~~
segmenttree2.cpp:49:22: error: ‘m’ was not declared in this scope
49 | else if(b <