foo.cc: In function 'int inn()':
foo.cc:18:18: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
18 | x=ch^'0';while((ch=gc)>='0'&&ch<='9')
| ^~~~~
foo.cc:19:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
19 | x=(x<<1)+(x<<3)+(ch^'0');return x;
| ^~~~~~
foo.cc: In function 'int dfs(int)':
foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
| ^~~
foo.cc:3:18: note: in expansion of macro 'rep'
3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
| ^~~
foo.cc:38:9: note: in expansion of macro 'Rep'
38 | Rep(i,g[x]) y=g[x][i],dpt[y]=dpt[x]+1,up[y][0]=x,dfs(y);return 0;
| ^~~
foo.cc:38:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
38 | Rep(i,g[x]) y=g[x][i],dpt[y]=dpt[x]+1,up[y][0]=x,dfs(y);return 0;
| ^~~~~~
foo.cc: In function 'int main()':
foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
| ^~~
foo.cc:3:18: note: in expansion of macro 'rep'
3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
| ^~~
foo.cc:103:9: note: in expansion of macro 'Rep'
103 | Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
| ^~~
foo.cc:103:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
103 | Rep(i,cur) ps[1]+=cur[i].w;pre[1]=cur;
| ^~~
foo.cc:2:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2 | #define rep(i,a,b) for(int i=a;i<=b;i++)
| ^~~
foo.cc:3:18: note: in expansion of macro 'rep'
3 | #define Rep(i,v) rep(i,0,(int)v.size()-1)
| ^~~
foo.cc:107:9: note: in expansion of macro 'Rep'
107 | Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
| ^~~
foo.cc:107:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
107 | Rep(i,cur) ss[m]+=cur[i].w;suf[m]=cur;
| ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务