Problem rmaxq
User bachnguyen123
Submission Time 2025-11-10 21:22:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp: In member function ‘int node::qry(int, int)’:
rmaxq.cpp:47:9: error: expected ‘;’ before ‘if’
47 | prop()
| ^
| ;
48 | if(a == s && b == e) return val;
| ~~
rmaxq.cpp:49:9: error: ‘else’ without a previous ‘if’
49 | else if(b <= m) return l -> qry(a,b);
| ^~~~