![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络流
弱鸡单排
这个作者很懒,什么都没留下…
展开
-
2019.4.8 1532 Drainage Ditches
题意:水从水池流向汇集地,每个管子有限制,求到汇集地的最大量 最大流模板 #include <bits/stdc++.h> using namespace std; #define inf 0x3f3f3f3f int head[210],tot = 0; struct Node{ int to,next,w; }edge[200000]; int s,t; vo...原创 2019-04-09 00:10:13 · 96 阅读 · 0 评论 -
2019.4.8 hdu 3549 Flow Problem
题意:网络流最大流 直接上代码 #include <bits/stdc++.h> using namespace std; #define inf 0x3f3f3f3f int head[1050],tot = 0; struct Node{ int to,next,w; }edge[2000000]; void add(int x,int y,int z){ ...原创 2019-04-09 00:11:54 · 69 阅读 · 0 评论