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

dp[i][j]代表最后有j辆车停在以i为根的子树中最小代价。枚举每棵子树中的车数量,合并,复杂度是n*k*k

Posted by yygy at 2013-01-19 11:43:24 on Problem 1849
In Reply To:扩展一下 Posted by:lianzhouxiaowu at 2010-05-31 18:45:50
> 要是这题工人的数目是一个给定的值k,结果怎样求?

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