随笔分类 - OJ-洛谷
luogu.com.cn
摘要:题目链接 造了一个最小费用最大流的板子,可根据需求小改,O2优化后可完全AC #include <bits/stdc++.h> using namespace std; class MinCostFlow { public: struct Result { int flow, cost; }; Mi
阅读全文
摘要:题目链接 保存一下dinic的板子 (不开longlong见祖宗) #include <bits/stdc++.h> using namespace std; const int INF=0x7fffffff; const int MAXN = 210,MAXM = 10010; namespace
阅读全文

浙公网安备 33010602011771号