
网络流建模汇
永远热血沸腾
这个作者很懒,什么都没留下…
展开
-
poj3680 Intervals 【最小费用最大流+离散化】
#include<stdio.h> #include<string.h> #include<vector> #include<queue> #include<algorithm> using namespace std; const int N=5024; const int inf=0x7fffffff; struct Edge { int from,to,cap,flow,cost; }原创 2016-05-05 19:33:05 · 486 阅读 · 0 评论 -
hoj2543 Stone IV 【最小费用最大流】
#include<stdio.h> #include<string.h> #include<vector> #include<queue> #include<algorithm> using namespace std; const int N=5024; const int inf=0x7fffffff; struct Edge { int from,to,cap,flow,cost; }原创 2016-05-06 15:31:17 · 775 阅读 · 0 评论