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:WA........谁来看看我的做法对不?

Posted by haiwei624 at 2010-03-23 22:12:08 on Problem 2987
In Reply To:WA........谁来看看我的做法对不? Posted by:sunny_fable at 2007-11-04 20:24:05
> 我求出最大流。
> 
> 从S相连的边,没有满容,那么就计算这个点,并且把他的父亲都记录下来。统计个数。。。
> 
> 这样统计个数对不?
不用那么复杂吧。。。根据割的性质,直接从源点dfs,能到达的都记上就行了。。。仔细研究下图的性质很好想到的。

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