From 74387e4b9902c1cac13d0347889953890dc27df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E5=AE=87=E8=BE=B0?= <6648049+TooYoungTooSimp@users.noreply.github.com> Date: Mon, 15 Jun 2020 01:06:14 +0800 Subject: [PATCH] Data Structures Homework x1 --- NOIP/2012/blockade.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/NOIP/2012/blockade.cpp b/NOIP/2012/blockade.cpp index f978c7b..5576a67 100644 --- a/NOIP/2012/blockade.cpp +++ b/NOIP/2012/blockade.cpp @@ -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;