foo.cc: In function 'int main()':
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a+1);
~~~~~^~~~~~~~~~
foo.cc:22:16: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]
p[i]=min(p[2*id-i],mx-i);
~^~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-08-09T12:44:10.872Z","handle":"2020-08-09T12:44:10.872Z","cache_start":"2020-08-09T12:44:10.880Z","read_cases":"2020-08-09T12:44:11.398Z","judge":"2020-08-09T12:44:11.398Z","done":"2020-08-09T12:44:11.848Z"}