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

最小费用最大流spfa。。 G++63ms,C++ 32ms..

Posted by zxy_snow at 2011-02-07 13:49:22 on Problem 2195 and last updated at 2011-02-07 16:16:13
少了这句 cost[to][from] = -cost[from][to]; WA死了 = =。。

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