Skip to content

Commit 11b9718

Browse files
authored
Update MinCostFlow.java
Rename minCostFlow to minCostMaxFlow
1 parent 2cab6b4 commit 11b9718

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎MinCostFlow/MinCostFlow.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public long[] minCostMaxFlow(int s, int t) {
7474
return minCostFlow(s, t, INF);
7575
}
7676

77-
public long[] minCostFlow(int s, int t, long flowLimit) {
77+
public long[] minCostMaxFlow(int s, int t, long flowLimit) {
7878
rangeCheck(s, 0, n);
7979
rangeCheck(t, 0, n);
8080
if (s == t) {

0 commit comments

Comments
 (0)