foo.cc: In function 'int main()':
foo.cc:42:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&a[i]);
~~~~~^
foo.cc:74:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",ans);
^
foo.cc:42:9: 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-24T04:51:05.665Z","handle":"2020-07-24T04:51:05.665Z","cache_start":"2020-07-24T04:51:05.671Z","read_cases":"2020-07-24T04:51:06.093Z","judge":"2020-07-24T04:51:06.093Z","done":"2020-07-24T04:51:09.369Z"}