Problem bunnyscore
User shoryu386
Submission Time 2022-12-31 16:13:03
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 ‘void init(long long int, long long int, long long int, long long int)’:
bunnyscore.cpp:51:2: error: ‘N’ was not declared in this scope
51 | N = _N;
| ^
bunnyscore.cpp:52:2: error: ‘Q’ was not declared in this scope
52 | Q = _Q;
| ^
bunnyscore.cpp:53:2: error: ‘K’ was not declared in this scope
53 | K = _K;
| ^
bunnyscore.cpp:54:2: error: ‘T’ was not declared in this scope
54 | T = _T;
| ^
bunnyscore.cpp: In function ‘long long int query(long long int, long long int)’:
bunnyscore.cpp:65:12: error: request for member ‘query’ in ‘st’, which is of pointer type ‘node*