foo.cc: In function 'int main()':
foo.cc:33:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[2]' [-Wformat=]
scanf("%s",&x);
~~^
foo.cc:28:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
~~~~~^~~~~~~~~~~~~~
foo.cc:33:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&x);
~~~~~^~~~~~~~~
foo.cc:36:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
~~~~~^~~~~~~~~
foo.cc:41:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&p);
~~~~~^~~~~~~~~~~~~~
foo.cc:46:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&p);
~~~~~^~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-24T18:06:25.287Z","handle":"2020-07-24T18:06:25.287Z","cache_start":"2020-07-24T18:06:25.293Z","read_cases":"2020-07-24T18:06:25.425Z","judge":"2020-07-24T18:06:25.425Z","done":"2020-07-24T18:06:26.109Z"}