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 tracyhenry at 2009-02-07 12:27:01 on Problem 3308
源点到每行有一条权值为ri的边,每列到汇点有一条权值为ci的边。如果一行和一列有伞兵降落,那么行--->列有一条正无穷的边,然后求最小割就ac了..完全靠直觉..ft~

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