foo.cc: In function 'int main()':
foo.cc:18:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | scanf("%d%lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:20:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | for(int i=1;i<=n;i++) scanf("%lld",&p[i].x);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:21:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
21 | for(int i=1;i<=n;i++) scanf("%lld",&p[i].y);
| ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务