/in/foo.cc: In function 'int main()':
/in/foo.cc:14:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d%d%d",&a,&b,&k,&n,&m);
^
/in/foo.cc:14:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:14:38: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:14:38: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
/in/foo.cc:14:38: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=]
/in/foo.cc:31:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",f[k][n]*ans1%mod*ans2%mod);
^