foo.cc: In function 'int main()':
foo.cc:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:22:24: 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)
正在同步测试数据,请稍后
您没有提供题目配置文件。正在使用默认时空限制 1s 256M 。
识别到23个测试点
{"receive":"2020-07-27T11:46:17.732Z","handle":"2020-07-27T11:46:17.732Z","cache_start":"2020-07-27T11:46:17.739Z","read_cases":"2020-07-27T11:46:18.336Z","judge":"2020-07-27T11:46:18.337Z","done":"2020-07-27T11:46:18.814Z"}