foo.cc: In function 'int main()':
foo.cc:28:31: 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;
~~ ^
foo.cc:28:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint* {aka long long int*}' [-Wformat=]
foo.cc:30:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint* {aka long long int*}' [-Wformat=]
scanf("%I64d", &num);
~~~~^
foo.cc:40:36: 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:28:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d", &n, &k); ans = 0;
~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:30:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &num);
~~~~~^~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-18T09:07:05.453Z","handle":"2020-07-18T09:07:05.453Z","cache_start":"2020-07-18T09:07:05.461Z","read_cases":"2020-07-18T09:07:05.660Z","judge":"2020-07-18T09:07:05.663Z","done":"2020-07-18T09:07:06.918Z"}