Problem rarwall
User mertbbm
Submission Time 2023-06-06 11:05:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rarwall.cpp: In constructor ‘node::node(int, int)’:
rarwall.cpp:11:28: error: ‘s’ was not declared in this scope
11 | node(int _S, int _E) { s=_S; e=_E; m=(s+e)/2; val=lzaddL=lzaddR=0; l=NULL; r=NULL; }
| ^
rarwall.cpp:11:34: error: ‘e’ was not declared in this scope
11 | node(int _S, int _E) { s=_S; e=_E; m=(s+e)/2; val=lzaddL=lzaddR=0; l=NULL; r=NULL; }
| ^
rarwall.cpp: In constructor ‘node::node(node*)’:
rarwall.cpp:9:13: error: ‘s’ was not declared in this scope
9 | #define m (s+e)>>1
| ^
rarwall.cpp:13:9: note: in expansion of macro ‘m’
13 | m=u->m, val=u->val; lzaddL=u->lzaddL; lzaddR=u->lzaddR; l=u->l, r=u->r;
| ^
rarwall.cpp:9:15: error: ‘e’ was not declared in this scope
9 | #define m (s+e)>>1
| ^
rarwall.cpp:13:9: note: in expansion of macr