foo.cc: In function 'int main()':
foo.cc:63:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
63 | scanf("%d%d",&n,&q);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:65:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
65 | scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:71:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
71 | scanf("%d",&op);
| ~~~~~^~~~~~~~~~
foo.cc:73:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
73 | scanf("%d%d%lld",&l,&r,&v);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:77:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
77 | scanf("%d%lld",&x,&v);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:83:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
83 | scanf("%d",&x);
| ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务