foo.cc: In function 'int main()':
foo.cc:29:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
scanf("%I64d%I64d",&n,&k);
~~ ^
foo.cc:29:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
foo.cc:32:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
scanf("%I64d",&num);
~~~~^
foo.cc:42:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint {aka long long int}' [-Wformat=]
printf("%I64d\n",ans % 1234567);
~~~~~~~~~~~~~^
foo.cc:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&n,&k);
~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:32:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&num);
~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务