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-23T14:52:21.054Z","handle":"2020-07-23T14:52:21.054Z","cache_start":"2020-07-23T14:52:21.060Z","read_cases":"2020-07-23T14:52:21.584Z","judge":"2020-07-23T14:52:21.585Z","done":"2020-07-23T14:52:24.904Z"}