/in/foo.cc: In function 'int main()':
/in/foo.cc:28: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:28:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
/in/foo.cc:30: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:40: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);
                                           ^