/in/foo.cc: In function 'int main()':
/in/foo.cc:57:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(re int i=1,x,y;i<=m;++i)x=read(),y=read(),add1(x,y),add1(y,x);cnt=0;
^~~
/in/foo.cc:57:69: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(re int i=1,x,y;i<=m;++i)x=read(),y=read(),add1(x,y),add1(y,x);cnt=0;
^~~
/in/foo.cc:64:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(lca(p[1],p[s])<=n)ans+=2;ans-=s*2;printf("%lld\n",ans>>1);
^~
/in/foo.cc:64:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(lca(p[1],p[s])<=n)ans+=2;ans-=s*2;printf("%lld\n",ans>>1);
^~~
/in/foo.cc:41:25: warning: array subscript is below array bounds [-Warray-bounds]
fa[x][0]=y;dep[x]=dep[y]+1;dis[x]=dis[y]+(x<=n);dfn[x]=++tim;
~~~~~^
/in/foo.cc:41:41: warning: array subscript is below array bounds [-Warray-bounds]
fa[x][0]=y;dep[x]=dep[y]+1;dis[x]=dis[y]+(x<=n);dfn[x]=++tim;
~~~~~^