/in/foo.cc: In function 'int main()':
/in/foo.cc:15:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d%d\n",k,r);
^
/in/foo.cc:15:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
/in/foo.cc:16:27: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' [-Wformat=]
printf("%lld",pow(3,k));
^
/in/foo.cc:8:24: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
unsigned long long ans;
^~~