Problem | rarwall |
---|---|
User | mertbbm |
Submission Time | 2023-06-06 11:06:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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 macro ‘m’
13 | m=u->m, val=u->val; lzaddL=u->lzaddL; lzaddR=u->lzaddR; l=u->l, r=u->r;
| ^
rarwall.cpp:9:12: error: expected unqualified-id before ‘(’ token
9 | #define m (s+e)>>1
| ^
rarwall.cpp:13:14: 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;
| ^