Problem bunnyscore
User el1tegamer
Submission Time 2026-10-21 13:04:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bunnyscore.cpp: In function ‘int get(int, int)’:
bunnyscore.cpp:11:13: error: ‘smaller’ was not declared in this scope
11 | return (smaller(i,j) ? i : j);
| ^~~~~~~
bunnyscore.cpp: In function ‘void init(int, int, int, int)’:
bunnyscore.cpp:19:24: error: ‘smaller’ was not declared in this scope
19 | st[i][j] = smaller(st[i][j-1], st[nxt][j-1]);
| ^~~~~~~
bunnyscore.cpp: In function ‘int query(int, int)’:
bunnyscore.cpp:26:12: error: ‘smaller’ was not declared in this scope
26 | return smaller(st[l][j], st[r-(1<<j)+1][j]);
| ^~~~~~~