met.cpp: In function 'int main()':
met.cpp:144:22: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
144 | for(j=0;j<u[i].size();j++)
| ~^~~~~~~~~~~~
met.cpp:148:26: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
148 | for(k=0;k<v[x].size();k++)
| ~^~~~~~~~~~~~
met.cpp:157:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
157 | else
| ^~~~
met.cpp:159:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
159 | le[x]=min(le[x],q+1);
| ^~
met.cpp:221:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
221 | else
| ^~~~
met.cpp:223:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
223 | if(ans[i]!=ans2[i])
| ^~
met.cpp:64:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
64 | scanf("%lld %lld",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~
met.cpp:77:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
77 | scanf("%lld",&x);
| ~~~~~^~~~~~~~~~~
met.cpp:86:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
86 | scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
met.cpp:90:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
90 | scanf("%lld",&q);
| ~~~~~^~~~~~~~~~~
met.cpp:93:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
93 | scanf("%lld %lld %lld",&x,&w,&z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
met.cpp: In function 'void Clear()':
met.cpp:31:15: warning: iteration 1100000 invokes undefined behavior [-Waggressive-loop-optimizations]
31 | seg[i]=0;
| ~~~~~~^~
met.cpp:29:14: note: within this loop
29 | for(i=0;i<=1100000;i++)
| ~^~~~~~~~~
met.cpp:31:15: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [17600000, 17600015] is out of the bounds [0, 17600000] of object 'seg' with type 'lll [1100000]' {aka '__int128 [1100000]'} [-Warray-bounds]
31 | seg[i]=0;
| ~~~~~~^~
met.cpp:6:5: note: 'seg' declared here
6 | lll seg[1100000],y;
| ^~~
met.cpp:32:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [8800000, 8800007] is out of the bounds [0, 8800000] of object 'lazy' with type 'll [1100000]' {aka 'long long int [1100000]'} [-Warray-bounds]
32 | lazy[i]=0;
| ~~~~~~~^~
met.cpp:5:28: note: 'lazy' declared here
5 | ll n,e,i,j,k,x,z,w,l,r,m,q,lazy[1100000],a[330000],le[330000],ri[330000],s,ans[330000],b[330000],cc[330000],ans2[330000];
| ^~~~
In function 'void Clear()',
inlined from 'int main()' at met.cpp:74:14:
met.cpp:31:15: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [17600000, 17600015] is out of the bounds [0, 17600000] of object 'seg' with type 'lll [1100000]' {aka '__int128 [1100000]'} [-Warray-bounds]
31 | seg[i]=0;
| ~~~~~~^~
met.cpp: In function 'int main()':
met.cpp:6:5: note: 'seg' declared here
6 | lll seg[1100000],y;
| ^~~
In function 'void Clear()',
inlined from 'int main()' at met.cpp:74:14:
met.cpp:32:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [8800000, 8800007] is out of the bounds [0, 8800000] of object 'lazy' with type 'll [1100000]' {aka 'long long int [1100000]'} [-Warray-bounds]
32 | lazy[i]=0;
| ~~~~~~~^~
met.cpp: In function 'int main()':
met.cpp:5:28: note: 'lazy' declared here
5 | ll n,e,i,j,k,x,z,w,l,r,m,q,lazy[1100000],a[330000],le[330000],ri[330000],s,ans[330000],b[330000],cc[330000],ans2[330000];
| ^~~~
In function 'void Clear()',
inlined from 'int main()' at met.cpp:112:14:
met.cpp:31:15: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [17600000, 17600015] is out of the bounds [0, 17600000] of object 'seg' with type 'lll [1100000]' {aka '__int128 [1100000]'} [-Warray-bounds]
31 | seg[i]=0;
| ~~~~~~^~
met.cpp: In function 'int main()':
met.cpp:6:5: note: 'seg' declared here
6 | lll seg[1100000],y;
| ^~~
In function 'void Clear()',
inlined from 'int main()' at met.cpp:112:14:
met.cpp:32:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [8800000, 8800007] is out of the bounds [0, 8800000] of object 'lazy' with type 'll [1100000]' {aka 'long long int [1100000]'} [-Warray-bounds]
32 | lazy[i]=0;
| ~~~~~~~^~
met.cpp: In function 'int main()':
met.cpp:5:28: note: 'lazy' declared here
5 | ll n,e,i,j,k,x,z,w,l,r,m,q,lazy[1100000],a[330000],le[330000],ri[330000],s,ans[330000],b[330000],cc[330000],ans2[330000];
| ^~~~