/in/foo.cc: In function 'void dfs1(int)':
/in/foo.cc:7:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;(1<<i)<=d[x];++i)fa[x][i]=fa[fa[x][i-1]][i-1];mx[x]=d[x];
^~~
/in/foo.cc:7:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;(1<<i)<=d[x];++i)fa[x][i]=fa[fa[x][i-1]][i-1];mx[x]=d[x];
^~
/in/foo.cc: In function 'int A(int, int)':
/in/foo.cc:19:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(k>d[x])return 0;if(!k)return x;
^~
/in/foo.cc:19:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(k>d[x])return 0;if(!k)return x;
^~
/in/foo.cc:21:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!k)return x;int len=d[x]-d[bl[x]];
^~
/in/foo.cc:21:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(!k)return x;int len=d[x]-d[bl[x]];
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(scanf("%d",&n),i=1;i<n;++i)scanf("%d%d",&x,&y),insert(x,y);mx[0]=-1;
^~~
/in/foo.cc:28:68: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(scanf("%d",&n),i=1;i<n;++i)scanf("%d%d",&x,&y),insert(x,y);mx[0]=-1;
^~
/in/foo.cc: In function 'int A(int, int)':
/in/foo.cc:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^