/in/foo.cc: In function 'int main()':
/in/foo.cc:17:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
scanf("%I64d%I64d",&n,&k); ans = 0;
^
/in/foo.cc:17:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:19:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
scanf("%I64d",&num);
^
/in/foo.cc:29:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint {aka long long int}' [-Wformat=]
printf("%I64d\n",ans % 1234567);
^