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)':
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:28:19: note: in expansion of macro 'sol'
return gcd(qry_y(sol) , qry_y(sag));
^
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:28:32: note: in expansion of macro 'sag'
return gcd(qry_y(sol) , qry_y(sag));
^
game.cpp: In function 'll qry_x(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:33:19: note: in expansion of macro 'sol'
return gcd(qry_x(sol) , qry_x(sag));
^
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:33:32: note: in expansion of macro 'sag'
return gcd(qry_x(sol) , qry_x(sag));
^
game.cpp: In function 'void up_y(int, int, int, int, int)':
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:43:12: note: in expansion of macro 'tm'
if(posy > tm) { if(!r) r = ++id; up_y(r,tm+1,tr,R[r1],R[r2]); }
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:43:42: note: in expansion of macro 'tm'
if(posy > tm) { if(!r) r = ++id; up_y(r,tm+1,tr,R[r1],R[r2]); }
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:44:45: note: in expansion of macro 'tm'
else { if(!l) l = ++id; up_y(l,tl,tm,L[r1],L[r2]); }
^
game.cpp: In function 'void up_x(int, int, int)':
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:51:13: note: in expansion of macro 'tm'
if(posx > tm) { if(!r) r = ++id; up_x(r,tm+1,tr); }
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:51:43: note: in expansion of macro 'tm'
if(posx > tm) { if(!r) r = ++id; up_x(r,tm+1,tr); }
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:52:46: note: in expansion of macro 'tm'
else { if(!l) l = ++id; up_x(l,tl,tm); }
^