/in/foo.cc: In member function 'void SegTree::build(node*&, int, int)':
/in/foo.cc:48:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'void SegTree::modify(node*, int, int)':
/in/foo.cc:55:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
}int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'int SegTree::ask(node*, int, int)':
/in/foo.cc:62:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'int SegTree::qry(node*, int, int)':
/in/foo.cc:71:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,ret=inf;
~^~
/in/foo.cc: In function 'void solve(int, int, int, int)':
/in/foo.cc:92:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,par=t+1;
~^~