foo.cc: In function 'int main()':
foo.cc:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
21 | scanf("%d%d%d",&n,&m,&k);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:24:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("%d",&a[t]);
| ~~~~~^~~~~~~~~~~~
foo.cc:28:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d%d",&q[t].l,&q[t].r);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务