Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

问一下这样做 怎么错了

Posted by happyending at 2006-12-08 16:45:39 on Problem 2135
这题是不是 求流量为2时的最小费用
我把每条边的容量设为1
用bf按费用求最短路 求完后更新残留网中的流量
求了两次退出 然后输出费用 可是WA了 
我就是把1作为源点,n作为汇点

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator