diff options
| author | Noobie99 <noob999noob999@gmail.com> | 2023-08-29 09:40:24 +0200 |
|---|---|---|
| committer | Noobie99 <noob999noob999@gmail.com> | 2023-08-29 09:40:24 +0200 |
| commit | 10df00ff808c6681c31ff115e53fcaafa17d96d1 (patch) | |
| tree | c6b6a30144e4f16ef8b8af5cdaf6a4cc5bff20e1 /graph/minCostMaxFlow.cpp | |
| parent | bc7a54f2a10ff3bb76cf4920be53000264bad279 (diff) | |
small fix + consistency
Diffstat (limited to 'graph/minCostMaxFlow.cpp')
| -rw-r--r-- | graph/minCostMaxFlow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/minCostMaxFlow.cpp b/graph/minCostMaxFlow.cpp index 0e33ae4..3526b17 100644 --- a/graph/minCostMaxFlow.cpp +++ b/graph/minCostMaxFlow.cpp @@ -15,7 +15,7 @@ struct MinCostFlow { MinCostFlow(int n, int source, int target) : adj(n), s(source), t(target) {}; - void addedge(int u, int v, ll c, ll cost) { + void addEdge(int u, int v, ll c, ll cost) { adj[u].push_back(sz(edges)); edges.push_back({v, c, cost}); adj[v].push_back(sz(edges)); |
