/in/foo.cc: In function 'void insert(int&, int, int, int)':
/in/foo.cc:15:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (!k) k=++cnt; d[k]++; if (l==r) return;
^~
/in/foo.cc:15:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (!k) k=++cnt; d[k]++; if (l==r) return;
^
/in/foo.cc: In function 'int query(int, int, int, int)':
/in/foo.cc:20:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (l==r) return l; int mid=(l+r)>>1;
^~
/in/foo.cc:20:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (l==r) return l; int mid=(l+r)>>1;
^~~