最大流
看见我请叫我去学习
此人很懒
展开
-
最小费用最大流模板
rt#include <bits/stdc++.h>using namespace std;#define _rep(i, a, b) for (int i = (a); i <= (b); ++i)#define _rev(i, a, b) for (int i = (a); i >= (b); --i)#define _for(i, a, b) for (in...原创 2019-10-23 15:39:04 · 89 阅读 · 0 评论 -
最大流dinic 模板
rt#include <bits/stdc++.h>using namespace std;#define _rep(i, a, b) for (int i = (a); i <= (b); ++i)#define _rev(i, a, b) for (int i = (a); i >= (b); --i)#define _for(i, a, b) for ...原创 2019-10-19 21:14:24 · 234 阅读 · 3 评论