随笔分类 -  网络流

摘要:#include #include #include #include #include using namespace std; const int MAXN=10100; const int MAXM=40010; const int INF=0x3f3f3f3f; struct Edge //cost代表单位流量流过该边时,所需的费用大小 { int to... 阅读全文
posted @ 2016-07-30 13:08 相儒以沫 阅读(160) 评论(0) 推荐(0) 编辑
摘要:#include #include #include #include using namespace std; const int MAXN=100010; //点的个数 const int MAXM=400010; //边的个数 const int INF=0x3f3f3f3f; struct Edge { int to,next,cap,flow; //cap代... 阅读全文
posted @ 2016-07-27 20:14 相儒以沫 阅读(146) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示