foo.cc: In function 'int inn()':
foo.cc:20:14: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
x=ch^'0';while((ch=gc)>='0'&&ch<='9')
^~~~~
foo.cc:21:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
x=(x<<1)+(x<<3)+(ch^'0');return x;
^~~~~~
foo.cc: In function 'int build(segment*&, int, int)':
foo.cc:43:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(l==r) return rt->mx=d[tm[l]];int mid=(l+r)>>1;
^~
foo.cc:43:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(l==r) return rt->mx=d[tm[l]];int mid=(l+r)>>1;
^~~
foo.cc: In function 'int query(segment*&, int, int)':
foo.cc:58:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(s<=l&&r<=t) return rt->mx;int ans=0;
^~
foo.cc:58:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(s<=l&&r<=t) return rt->mx;int ans=0;
^~~
[Hydro](https://hydro.ac)提供评测服务