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:21: 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:34: 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:33:28: note: in expansion of macro 'tm'
return __gcd(qry_x(v+v,tl,tm) , qry_x(v+v+1,tm+1,tr));
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:33:46: note: in expansion of macro 'tm'
return __gcd(qry_x(v+v,tl,tm) , qry_x(v+v+1,tm+1,tr));
^
game.cpp: In function 'void up_y(int, int, int, int, int, bool)':
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[v]) R[v] = ++id; up_y(sag,R[r1],R[r2],h); }
^
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:43:46: note: in expansion of macro 'sag'
if(posy > tm) { if(!R[v]) R[v] = ++id; up_y(sag,R[r1],R[r2],h); }
^
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:44:46: note: in expansion of macro 'sol'
else { if(!L[v]) L[v] = ++id; up_y(sol,L[r1],L[r2],h); }
^
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:49:13: note: in expansion of macro 'tm'
if(posx > tm) up_x(v+v+1,tm+1,tr);
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:49:28: note: in expansion of macro 'tm'
if(posx > tm) up_x(v+v+1,tm+1,tr);
^
game.cpp:7:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:50:20: note: in expansion of macro 'tm'
else up_x(v+v,tl,tm);
^