foo.cc: In function 'int main()':
foo.cc:60:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
60 | for(ll i=1; i<=n; i++)
| ~^~~
foo.cc:61:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
61 | scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:64:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
64 | scanf("%lld",&op);//操作方式
| ~~~~~^~~~~~~~~~~~
foo.cc:67:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
67 | scanf("%lld%lld%lld",&l,&r,&k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:72:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
72 | scanf("%lld%lld",&l,&r);
| ~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务