Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:64:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] else printf("%d\n",(long long)z*power(y,mod-2,mod)%mod); ^
/in/foo.cc: In function 'int main()': /in/foo.cc:64:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] else printf("%d\n",(long long)z*power(y,mod-2,mod)%mod); ^