foo.cc: In function 'int main()':
foo.cc:17:29: 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:17:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
foo.cc:20:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
scanf("%I64d",&num);
~~~~^
foo.cc:28:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint {aka long long int}' [-Wformat=]
printf("%I64d",ans % 1234567);
~~~~~~~~~~~~~^
foo.cc:17:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&n,&k);
~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&num);
~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务