grader.c: In function 'int main()':
grader.c:18:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
int res;
^~~
game.cpp: In function 'll qry_y(int, int, int, int, int)':
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:8:21: note: in expansion of macro 'tm'
#define sol L[v],tl,tm
^~
game.cpp:48:19: note: in expansion of macro 'sol'
return gcd(qry_y(sol,ly,ry) , qry_y(sag,ly,ry));
^~~
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:9:18: note: in expansion of macro 'tm'
#define sag R[v],tm+1,tr
^~
game.cpp:48:38: note: in expansion of macro 'sag'
return gcd(qry_y(sol,ly,ry) , qry_y(sag,ly,ry));
^~~
game.cpp: In function 'll qry_x(int, int, int, int, int, int, int)':
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:8:21: note: in expansion of macro 'tm'
#define sol L[v],tl,tm
^~
game.cpp:53:19: note: in expansion of macro 'sol'
return gcd(qry_x(sol,lx,rx,ly,ry) , qry_x(sag,lx,rx,ly,ry));
^~~
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:9:18: note: in expansion of macro 'tm'
#define sag R[v],tm+1,tr
^~
game.cpp:53:44: note: in expansion of macro 'sag'
return gcd(qry_x(sol,lx,rx,ly,ry) , qry_x(sag,lx,rx,ly,ry));
^~~
game.cpp: In function 'void up_y(int, int, int, int, int, int, ll)':
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:61:12: note: in expansion of macro 'tm'
if(posy > tm) { if(!R[v]) R[v] = nevv(); up_y(sag,posy,R[r1],R[r2],t); }
^~
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:9:18: note: in expansion of macro 'tm'
#define sag R[v],tm+1,tr
^~
game.cpp:61:48: note: in expansion of macro 'sag'
if(posy > tm) { if(!R[v]) R[v] = nevv(); up_y(sag,posy,R[r1],R[r2],t); }
^~~
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:8:21: note: in expansion of macro 'tm'
#define sol L[v],tl,tm
^~
game.cpp:62:48: note: in expansion of macro 'sol'
else { if(!L[v]) L[v] = nevv(); up_y(sol,posy,L[r1],L[r2],t); }
^~~
game.cpp: In function 'void up_x(int, int, int, int, int, ll)':
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:67:13: note: in expansion of macro 'tm'
if(posx > tm) { if(!R[v]) R[v] = nevv(); up_x(sag,posx,posy,t); }
^~
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:9:18: note: in expansion of macro 'tm'
#define sag R[v],tm+1,tr
^~
game.cpp:67:49: note: in expansion of macro 'sag'
if(posx > tm) { if(!R[v]) R[v] = nevv(); up_x(sag,posx,posy,t); }
^~~
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
~~^~
game.cpp:8:21: note: in expansion of macro 'tm'
#define sol L[v],tl,tm
^~
game.cpp:68:49: note: in expansion of macro 'sol'
else { if(!L[v]) L[v] = nevv(); up_x(sol,posx,posy,t); }
^~~