/in/foo.cc: In member function 'void SegTree::build(node*&, int, int)':
/in/foo.cc:13:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'void SegTree::modify(node*, int, int, int, int)':
/in/foo.cc:20:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'int SegTree::qry(node*, int, int, int, int)':
/in/foo.cc:26:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,ret=0;
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:59:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
if(pd(mid=l+r>>1)==va) r=mid;
~^~