/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:33:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'void Update(int, int, int)':
/in/foo.cc:44:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=T[g].l+T[g].r>>1;
~~~~~~^~~~~~~
/in/foo.cc: In function 'int Calc(int, int, int)':
/in/foo.cc:52:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=T[g].l+T[g].r>>1;
~~~~~~^~~~~~~
/in/foo.cc: In function 'int Find(int, int, int)':
/in/foo.cc:60:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=T[g].l+T[g].r>>1;
~~~~~~^~~~~~~
/in/foo.cc: In function 'func Query(int, int, int)':
/in/foo.cc:68:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=T[g].l+T[g].r>>1;
~~~~~~^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:89:28: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
while(L<=R) check(mid=L+R>>1)?L=(cur=mid)+1:R=mid-1;
~^~