1
0
Fork 0

Update graph/bounded_flow.cc

Signed-off-by: subcrip <contact@subc.rip>
This commit is contained in:
subcrip 2024-05-20 14:02:42 +08:00
parent 76d705f0a2
commit 9734205fb6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ struct bounded_flow {
for (int from = 1; from <= n; ++from) { for (int from = 1; from <= n; ++from) {
for (auto&& [to, cap, flow, rev, mark] : net.edges[from]) { for (auto&& [to, cap, flow, rev, mark] : net.edges[from]) {
if (mark != -1) { if (mark != -1) {
fl[mark] = flow; fl[mark] += flow;
} }
} }
} }