foo.cc: In function 'int main()':
foo.cc:19:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("Travel.in","r",stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("Travel.out","w",stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf%lf%lld",&d1,&c,&d2,&p,&n);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&a[i].d,&a[i].p);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-07T13:01:44.170Z","handle":"2020-08-07T13:01:44.170Z","cache_start":"2020-08-07T13:01:44.177Z","read_cases":"2020-08-07T13:01:44.339Z","judge":"2020-08-07T13:01:44.340Z","done":"2020-08-07T13:01:44.767Z"}