/in/foo.cc: In function 'void del(int, int, int&, int)':
/in/foo.cc:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!o)o=++cnt;++dp[o];
^~
/in/foo.cc:8:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(!o)o=++cnt;++dp[o];
^~
/in/foo.cc:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(l==r)return;int mid=l+r>>1;
^~
/in/foo.cc:9:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(l==r)return;int mid=l+r>>1;
^~~
/in/foo.cc:9:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
if(l==r)return;int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int kth(int, int, int, int)':
/in/foo.cc:15:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,tmp=mid-l+1-dp[ls[o]];
~^~