/in/foo.cc: In function 'void china(long long int)':
/in/foo.cc:22:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",(ans+M)%M);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&k);
^
/in/foo.cc:28:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d %I64d",&m[i],&a[i]);
^
/in/foo.cc:28:34: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]