foo.cc: In function 'int main()':
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&w,&n);
~~~~~^~~~~~~~~~~~~~~
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
~~~~~^~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-23T09:08:02.257Z","handle":"2020-07-23T09:08:02.257Z","cache_start":"2020-07-23T09:08:02.263Z","read_cases":"2020-07-23T09:08:02.396Z","judge":"2020-07-23T09:08:02.399Z","done":"2020-07-23T09:08:02.876Z"}