/in/foo.cc: In function 'int main()':
/in/foo.cc:29:37: 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:29:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:31:39: 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:41:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint {aka long long int}' [-Wformat=]
printf("%I64d\n",ans % 1234567);
^