/in/foo.cc: In member function 'void Segment_Tree::Insert(int&, int, int, int, int)':
/in/foo.cc:26:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=(LL)l+r>>1;//LL!
~~~~~^~
/in/foo.cc: In member function 'int Segment_Tree::Query(int, int, int, int, int)':
/in/foo.cc:32:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=(LL)l+r>>1,mid,t=sz[ls]-sz[son[y][0]];
~~~~~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:63:30: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int l=read(),r=read(),p=r-l+2>>1;
~~~^~