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 liangzhirong at 2006-08-17 18:00:12 on Problem 1523
In Reply To:不知道什么是trivial,不过我的做法是如果DFS树中k的儿子i能到达的最小深度>=k的深度,那么 subset[k]++,结果就是subset[k]+1(根除外) Posted by:liangzhirong at 2006-08-17 17:17:44


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