foo.cc: In function 'int main()':
foo.cc:64:6: warning: unused variable 'ans' [-Wunused-variable]
int ans[1010],cnt=0;
^~~
foo.cc:50:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:56:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
~~~~~^~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-24T09:53:03.939Z","handle":"2020-07-24T09:53:03.947Z","cache_start":"2020-07-24T09:53:04.020Z","read_cases":"2020-07-24T09:53:04.291Z","judge":"2020-07-24T09:53:04.305Z","done":"2020-07-24T09:53:05.760Z"}