/in/foo.cc: In function 'int main()':
/in/foo.cc:17:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%d%d%d%d%d",&a,&b,&k,&n,&m);
^
/in/foo.cc:17:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:21:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d",C[k][m]*power(a,n)*power(b,m)%mod);
^