foo.cc: In function 'int main()':
foo.cc:6:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:7:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-15T00:21:40.993Z","handle":"2020-08-15T00:21:40.993Z","cache_start":"2020-08-15T00:21:41.001Z","read_cases":"2020-08-15T00:21:41.134Z","judge":"2020-08-15T00:21:41.138Z","done":"2020-08-15T00:21:41.301Z"}