foo.cc: In function 'int main()':
foo.cc:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d%d%d%d", &n, &m, &v, &e);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
18 | for(int i=1;i<=n;i++)scanf("%d", c+i);
| ~~~~~^~~~~~~~~~~
foo.cc:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19 | for(int i=1;i<=n;i++)scanf("%d", d+i);
| ~~~~~^~~~~~~~~~~
foo.cc:20:28: 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("%lf", p+i);
| ~~~~~^~~~~~~~~~~~
foo.cc:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
27 | scanf("%d%d%d", &x, &y, &z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务