foo.cc: In function 'int main()':
foo.cc:70:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
70 | for(ll i=1; i<=n; i++)
| ~^~~
foo.cc:71:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
71 | scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:74:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
74 | scanf("%lld",&op);//操作方式
| ~~~~~^~~~~~~~~~~~
foo.cc:77:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
77 | scanf("%lld%lld%lld",&l,&r,&k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:82:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
82 | scanf("%lld%lld",&l,&r);
| ~~~~~^~~~~~~~~~~~~~~~~~
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务