foo.cc: In function 'void dts::main()':
foo.cc:80:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
80 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
foo.cc:82:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
82 | scanf("%d",&a[i]);
| ~~~~~^~~~~~~~~~~~
foo.cc:84:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
84 | scanf("%d",&m);
| ~~~~~^~~~~~~~~
foo.cc:88:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
88 | scanf("%d%d%d",&K,&l,&r);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:92:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
92 | scanf("%d",&val);
| ~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务