/in/foo.cc: In function 'int main()':
/in/foo.cc:10:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&e[i]),e[i]*=50001;
^
/in/foo.cc:12:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&a[i]),a[i]=a[i]*50001+50000-i;
^
/in/foo.cc:18:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ",50001-a[i]%50001);
^