foo.cc: In function 'int main()':
foo.cc:8:7: warning: unused variable 'p' [-Wunused-variable]
int p;
^
foo.cc:5:8: warning: unused variable 's' [-Wunused-variable]
int n,s;
^
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:9:8: 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-07-22T10:41:12.036Z","handle":"2020-07-22T10:41:12.036Z","cache_start":"2020-07-22T10:41:12.042Z","read_cases":"2020-07-22T10:41:12.573Z","judge":"2020-07-22T10:41:12.573Z","done":"2020-07-22T10:41:14.192Z"}