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

不太容易想到的case

Posted by whosyourdaddy at 2010-05-26 03:05:45 on Problem 3659
就是第三种状态。
如果该点不建塔,并且所有子结点均是不建塔达到最小值,那么该点无法被覆盖到,因此,至少需要一个子结点改变状态建塔。 
而该点父节点,如果确定建塔,则它不需要知道这个点的上述状态。因此,需要第三种状态表示: 无视该点是否被覆盖的最优解。


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