foo.cc:6:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
foo.cc: In function 'int main()':
foo.cc:7:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);for(ri i=1;i<=n;i++) scanf("%d",&w[i]);memset(f,0x3f,sizeof f);
^
foo.cc:7:55: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);for(ri i=1;i<=n;i++) scanf("%d",&w[i]);memset(f,0x3f,sizeof f);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-03-26T05:58:49.460Z","handle":"2020-03-26T05:58:49.460Z","cache_start":"2020-03-26T05:58:49.467Z","read_cases":"2020-03-26T05:58:49.576Z","judge":"2020-03-26T05:58:49.577Z","done":"2020-03-26T05:58:49.784Z"}