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

添加一个虚根,它连向所有没有入读的点。然后参照1155进行DP

Posted by LCA at 2007-08-14 20:24:27 on Problem 3345
In Reply To:Re:哪位大大解释一下这个题目怎么做吧 Posted by:maomivan at 2007-08-14 20:20:21
> 
> 我是这么做的,效率不是很高。。。。
> 建一棵二叉树(加一些权重无穷大的节点将n叉树转化为2叉树),然后DP。

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