foo.cc: In function 'int main()':
foo.cc:98:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
98 | scanf("%d%d%d", &n, &m, &p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:100:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
100 | scanf("%lld", &a[i]);
| ~~~~~^~~~~~~~~~~~~~~
foo.cc:105:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
105 | scanf("%d", &chk);
| ~~~~~^~~~~~~~~~~~
foo.cc:109:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
109 | scanf("%d%d%lld", &x, &y, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:113:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
113 | scanf("%d%d%lld", &x, &y, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:117:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
117 | scanf("%d%d", &x, &y);
| ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 3 testcases.
[Hydro](https://hydro.ac)提供评测服务