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

Re:貌似不是,最大流可以有相同的点,而本题是路径除了起点和终点不能有相同的点

Posted by 1125442950 at 2016-02-19 16:37:00 on Problem 3713
In Reply To:貌似不是,最大流可以有相同的点,而本题是路径除了起点和终点不能有相同的点 Posted by:zxxb at 2008-12-30 09:36:00
只要拆点就可以了,一个点拆成两个,中间连接一条容量为1的边

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