ricehub.cpp: In function 'int besthub(int, ll, ll, ll*)':
ricehub.cpp:14:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = i + j >> 1;
^
ricehub.cpp:14:7: warning: unused variable 'mid' [-Wunused-variable]
int mid = i + j >> 1;
^
ricehub.cpp:9:5: warning: unused variable 'cnt' [-Wunused-variable]
ll cnt = 0LL, A[MAX_N];
^
/tmp/ccbOF1bs.o: In function `main':
grader.cpp:(.text.startup+0x92): undefined reference to `besthub(int, int, int*, long long)'
collect2: error: ld returned 1 exit status