foo.cc: In function 'int main()':
foo.cc:11:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:12:29: 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]);
~~~~~^~~~~~~~~~~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-31T13:13:14.964Z","handle":"2020-05-31T13:13:14.964Z","cache_start":"2020-05-31T13:13:14.972Z","read_cases":"2020-05-31T13:13:15.599Z","judge":"2020-05-31T13:13:15.600Z","done":"2020-05-31T13:13:15.809Z"}