foo.cc: In function 'int main()':
foo.cc:85:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
85 | scanf("%d%d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:87:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
87 | scanf("%d",&dis[i]);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:89:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
89 | scanf("%d",&fy[i]);
| ~~~~~^~~~~~~~~~~~~
foo.cc:91:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
91 | scanf("%d",&fw[i]);
| ~~~~~^~~~~~~~~~~~~
foo.cc:93:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
93 | scanf("%d",&bc[i]);
| ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务