/in/foo.cc: In member function 'void SegmentTree::build(int, int, int)':
/in/foo.cc:26:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In member function 'void SegmentTree::change(int, int, int, int)':
/in/foo.cc:35:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l(p) + r(p) >> 1;
^
/in/foo.cc: In member function 'int SegmentTree::ask(int, int, int)':
/in/foo.cc:43:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l(p) + r(p) >> 1, res = inf;
^