/in/foo.cc: In function 'int main()':
/in/foo.cc:85:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(ll<=0)ll=1;if(rr>m)rr=m;
^~
/in/foo.cc:85:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(ll<=0)ll=1;if(rr>m)rr=m;
^~
/in/foo.cc: In function 'int query2(int, int, int, int)':
/in/foo.cc:68:14: warning: 'ans2' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans1+ans2;
^~~~
/in/foo.cc:68:14: warning: 'ans1' may be used uninitialized in this function [-Wmaybe-uninitialized]