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