BestCoder Round #67
【BestCoder Round #75 1004】King's Game

【BestCoder Round #75 1005】King's Pilots

Zarxdy34 posted @ 2016年3月13日 08:52 in BestCoder with tags 费用流 , 519 阅读

  费用流建模和BZOJ1221,网络流24题里的餐巾计划是差不多的。

  但是由于刚开始有k的飞行员,所以要从S向Y1连一条容量为k费用为0的边,并且每个Yi到Yi+1连一条容量为无穷大费用为0的边,以使用这k个飞行员。

 


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter