摘要: #includeusing namespace std;const int nMax = 30005;const int mMax = 150005;const int inf = 1000000000; struct node{ int v, w, next;}edge[mMax];int ... 阅读全文
posted @ 2015-08-15 16:50 花开须臾 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 题意:2 1 1 2 (0,1)20 (1,0)10 (0)15 (1)202 1 1 2 表示 共有2个节点,生产能量的点1个,消耗能量的点1个, 传递能量的通道2条;(0,1)20 (1,0)10 代表(起点,终点)最大传递的能量(0)15 (产生能量的点)产生的最大能量(1)20 (消费能量的... 阅读全文
posted @ 2015-08-15 16:12 花开须臾 阅读(264) 评论(0) 推荐(0) 编辑