Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MinCostFlow/MinCostFlow.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ private void buildGraph() {
private long addCost;

public long[] minCostMaxFlow(int s, int t) {
return minCostFlow(s, t, INF);
return minCostMaxFlow(s, t, INF);
}

public long[] minCostFlow(int s, int t, long flowLimit) {
public long[] minCostMaxFlow(int s, int t, long flowLimit) {
rangeCheck(s, 0, n);
rangeCheck(t, 0, n);
if (s == t) {
Expand Down