Problem bunnyscore
User shoryu386
Submission Time 2022-12-31 16:13:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bunnyscore.cpp: In function ‘bool sm(long long int, long long int)’:
bunnyscore.cpp:10:38: error: expected ‘;’ before ‘return’
10 | else (um.count(OFFSET * b + a) != 0) return !um[OFFSET * b + a];
| ^~~~~~~
| ;
bunnyscore.cpp: In function ‘long long int query(long long int, long long int)’:
bunnyscore.cpp:59:12: error: request for member ‘query’ in ‘st’, which is of pointer type ‘node*’ (maybe you meant to use ‘->’ ?)
59 | return st.query(l, r);
| ^~~~~