foo.cc: In function 'int main()':
foo.cc:78:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
78 | scanf("%lld%lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:82:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
82 | scanf("%lld",&a1[i].a);
| ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:97:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
97 | scanf("%lld%lld",&a[i].x,&a[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:77:15: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
77 | long long num;
| ^~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务