foo.cc: In function 'int main()':
foo.cc:83:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
83 | for(int i = 0; i < n1; i++) scanf("%lf%lf", &p1[i].x, &p1[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:84:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
84 | for(int i = 0; i < n2; i++) scanf("%lf%lf", &p2[i].x, &p2[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务