foo.cc: In function 'int main()':
foo.cc:14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
foo.cc:16:62: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) scanf("%d%d%lf",&x[i],&y[i],&p[i]);
^
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-11T17:33:29.162Z","handle":"2020-05-11T17:33:29.162Z","cache_start":"2020-05-11T17:33:29.170Z","read_cases":"2020-05-11T17:33:29.735Z","judge":"2020-05-11T17:33:29.735Z","done":"2020-05-11T17:33:29.944Z"}