Accepted
foo.cc: In function 'int main()': foo.cc:19:42: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] scanf("%lld%d%lld",&x[i],&p,&c[i]); ~~ ^ foo.cc:19:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%d%lld",&x[i],&p,&c[i]); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。