foo.cc: In function 'int main()':
foo.cc:65:22: warning: unused variable 'nn' [-Wunused-variable]
int ans[1010],cnt=0,nn=n;
^~
foo.cc:50:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:56:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
~~~~~^~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-24T09:46:45.655Z","handle":"2020-07-24T09:46:45.655Z","cache_start":"2020-07-24T09:46:45.663Z","read_cases":"2020-07-24T09:46:47.665Z","judge":"2020-07-24T09:46:47.665Z","done":"2020-07-24T09:46:48.987Z"}