/in/foo.cc: In function 'void cdq(long long int, long long int)':
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:21:11: note: in expansion of macro 'mid'
cdq(l,mid);cdq(mid+1,r);
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:21:20: note: in expansion of macro 'mid'
cdq(l,mid);cdq(mid+1,r);
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:22:22: note: in expansion of macro 'mid'
for(ll i=l,j=l,k=mid+1;i<=r;i++)
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:23:25: note: in expansion of macro 'mid'
if((k>r) || (j<=mid && q[j].pos<q[k].pos)) t[i]=q[j++];
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:27:27: note: in expansion of macro 'mid'
if((q[i]=t[i]).id>mid)
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:32:21: note: in expansion of macro 'mid'
if(q[i].id<=mid)
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:35:20: note: in expansion of macro 'mid'
if(q[i].id>mid)
^~~
/in/foo.cc:2:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
/in/foo.cc:40:21: note: in expansion of macro 'mid'
if(q[i].id<=mid)
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d",&n,&m);
^
/in/foo.cc:45:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:47:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&tem),a[tem]=i;
^
/in/foo.cc:49:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&in[i]),ok[in[i]]=1;
^