0_0_33292482_18912.cpp:9:54: error: expected initializer before 'dep'
int L[N],si[N],dfn[N],rem[N],top[N],tree[N<<2],ans[N]dep[N],fa[N];
^
0_0_33292482_18912.cpp: In function 'void dfs1(int)':
0_0_33292482_18912.cpp:19:12: error: 'dep' was not declared in this scope
if(dep[g[p][q]]) continue;
^
0_0_33292482_18912.cpp:20:9: error: 'dep' was not declared in this scope
dep[g[p][q]]=dep[p]+1;
^
0_0_33292482_18912.cpp:21:9: error: 'fa' was not declared in this scope
fa[g[p][q]]=p;dfs1(g[p][q]);
^
0_0_33292482_18912.cpp: In function 'void dfs2(int)':
0_0_33292482_18912.cpp:26:12: error: 'fa' was not declared in this scope
{ if(rem[fa[p]]==p) top[p]=top[fa[p]];
^
0_0_33292482_18912.cpp:31:21: error: 'fa' was not declared in this scope
if(g[p][i]==fa[p]||g[p][i]==rem[p]) continue;
^
0_0_33292482_18912.cpp: In function 'int sol(int)':
0_0_33292482_18912.cpp:51:11: error: 'fa' was not declared in this scope
p=fa[top[p]];
^
0_0_33292482_18912.cpp: In function 'int main()':
0_0_33292482_18912.cpp:58:13: error: expected '}' at end of input
cin >> T;
^
|