/in/foo.cc: In member function 'void segment_tree::modify(int&, int, int, int, int)':
/in/foo.cc:71:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In member function 'int segment_tree::query(int, int, int, int, int)':
/in/foo.cc:81:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int search(int)':
/in/foo.cc:149:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
mid=l+r>>1;
~^~