Data Structures Homework x1

master
大蒟蒻 6 years ago committed by GitHub
parent f8b5b71429
commit 74387e4b99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,9 +100,7 @@ bool dfs2(int x)
if (cov[x]) return true;
for (int t, e = G.adj[x]; e; e = G.E[e].nxt)
if (t = G.E[e].to, t != fa[0][x])
{
if (!dfs2(t)) return false;
}
return !ch[x].empty();
}
int n, m;

Loading…
Cancel
Save