Problem segmenttree2
User shawn
Submission Time 2025-01-09 20:15:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree2.cpp: In member function ‘void node::propogate()’:
segmenttree2.cpp:36:23: error: ‘S’ was not declared in this scope
36 | if(!l)l=new node(S,M);
| ^
segmenttree2.cpp:36:25: error: ‘M’ was not declared in this scope
36 | if(!l)l=new node(S,M);
| ^
segmenttree2.cpp:37:20: error: ‘M’ was not declared in this scope
37 | if(!r)r=new node(M+1,E);
| ^
segmenttree2.cpp:37:24: error: ‘E’ was not declared in this scope
37 | if(!r)r=new node(M+1,E);
| ^