foo.cc: In function 'int main()':
foo.cc:99:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
99 | scanf("%lf%lf",&ps1[i].x,&ps1[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:101:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
101 | scanf("%lf%lf",&ps2[i].x,&ps2[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务