From 2804775e6925ff9f9661d0e8a49851eb40821650 Mon Sep 17 00:00:00 2001 From: algorithmzuo Date: Tue, 6 Apr 2021 15:07:41 +0800 Subject: [PATCH] modify code --- src/class47/Code03_DinicAlgorithm.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/class47/Code03_DinicAlgorithm.java b/src/class47/Code03_DinicAlgorithm.java index 394e57b..3fcbe86 100644 --- a/src/class47/Code03_DinicAlgorithm.java +++ b/src/class47/Code03_DinicAlgorithm.java @@ -62,7 +62,6 @@ public class Code03_DinicAlgorithm { } private boolean bfs(int s, int t) { - depth[s] = 0; LinkedList queue = new LinkedList<>(); queue.addFirst(s); boolean[] visited = new boolean[N];