代码模板——P3381 【模板】最小费用最大流 dij版
vector版:
// luogu-judger-enable-o2
#include<bits/stdc++.h>
using namespace std;
const int MAXN = 5e3+50;
const int INF = 0x3f3f3f3f;
typedef pair<int, int> P;
struct edge{int to, cap, ...
原创
2019-07-30 16:32:39 ·
186 阅读 ·
0 评论