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 20053565 at 2009-01-03 11:10:05 on Problem 3713
In Reply To:那你帮我回答上面这些问题吧 呵呵 Posted by:20053565 at 2009-01-03 09:56:44
我的做法是枚举删除一个点,然后看剩下的图里有没有割点和桥,有的话就不行
之前求割点和桥各dfs了一次 于是超时了 其实dfs一次 求出pre数组和low数组就行了
我不知道这么做对不对 只是直觉 所以就试了试 要是找到反例了告诉我

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