foo.cc: In function 'int main()':
foo.cc:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long j=0;j<=vec[i].size()-1;j++){
~^~~~~~~~~~~~~~~~~
foo.cc:44:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(((L-i+1)+1)/2<q.size()){
~~~~~~~~~~~~~^~~~~~~~~
foo.cc:52:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(((L-i+1)+1)/2>q.size()){
~~~~~~~~~~~~~^~~~~~~~~
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&m);
~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:14:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(long long i=1;i<=n;i++)scanf("%lld",&a[i]);
~~~~~^~~~~~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&l,&r);
~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务