foo.cc: In function 'int main()':
foo.cc:42:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
42 | scanf("%d", &a[i]);
| ~~~~~^~~~~~~~~~~~~
foo.cc:51:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
51 | scanf("%d%d", &op, &x);
| ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:54:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
54 | scanf("%d", &v);
| ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
Found 25 testcases.
[Hydro](https://hydro.ac)提供评测服务