/in/foo.cc: In function 'void Bd(int, int, int)':
/in/foo.cc:31:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=l+r>>1;
~^~
/in/foo.cc: In function 'long long int Qy(int, int, int, int)':
/in/foo.cc:41:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=t[rt].l+t[rt].r>>1;
~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:58:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&a[i]);
^
/in/foo.cc:65:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=ll+lr>>1;
~~^~~
/in/foo.cc:73:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m=rl+rr>>1;
~~^~~
/in/foo.cc:81:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d",ans);
^