foo.cc: In function 'int main()':
foo.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
foo.cc:9:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
~~~~~^~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-16T02:20:24.277Z","handle":"2020-08-16T02:20:24.277Z","cache_start":"2020-08-16T02:20:24.283Z","read_cases":"2020-08-16T02:20:24.398Z","judge":"2020-08-16T02:20:24.399Z","done":"2020-08-16T02:20:24.962Z"}