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 member function 'll node::qry_y(int, int, int, int)':
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:36:32: note: in expansion of macro 'tm'
return gcd(l ? l->qry_y(tl,tm,ly,ry) : 0 , r ? r->qry_y(tm+1,tr,ly,ry) : 0);
^
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:36:61: note: in expansion of macro 'tm'
return gcd(l ? l->qry_y(tl,tm,ly,ry) : 0 , r ? r->qry_y(tm+1,tr,ly,ry) : 0);
^
game.cpp: In member function 'll node::qry_x(int, int, int, int, int, int)':
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:41:32: note: in expansion of macro 'tm'
return gcd(l ? l->qry_x(tl,tm,lx,rx,ly,ry) : 0 ,
^
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:42:32: note: in expansion of macro 'tm'
r ? r->qry_x(tm+1,tr,lx,rx,ly,ry) : 0);
^
game.cpp: In member function 'void node::up_y(int, int, int, ll)':
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:49:14: note: in expansion of macro 'tm'
if(py > tm) { if(r == NULL) r = new node; r -> up_y(tl,tm,py,val); }
^
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:49:61: note: in expansion of macro 'tm'
if(py > tm) { if(r == NULL) r = new node; r -> up_y(tl,tm,py,val); }
^
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:50:58: note: in expansion of macro 'tm'
else { if(l == NULL) l = new node; l -> up_y(tm+1,tr,py,val); }
^
game.cpp: In member function 'void node::up_x(int, int, int, int, ll)':
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:55:15: note: in expansion of macro 'tm'
if(px > tm) { if(r == NULL) r = new node; r -> up_x(tl,tm,px,py,val); }
^
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:55:62: note: in expansion of macro 'tm'
if(px > tm) { if(r == NULL) r = new node; r -> up_x(tl,tm,px,py,val); }
^
game.cpp:6:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl+tr >> 1)
^
game.cpp:56:59: note: in expansion of macro 'tm'
else { if(l == NULL) l = new node; l -> up_x(tm+1,tr,px,py,val); }
^