0_0_33813793_19856.cpp: In function 'void dfs(int)':
0_0_33813793_19856.cpp:7:2: error: 'cnt' was not declared in this scope
cnt[n1]=1;
^
0_0_33813793_19856.cpp: In function 'void dfs1(int, int)':
0_0_33813793_19856.cpp:17:21: error: 'cnt' was not declared in this scope
dfs1(v[n1][i],s+n-cnt[v[n1][i]]);
^
|