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

Re:这题greedy果然要比treedp慢的多...险些TLE......

Posted by scuxy at 2008-03-28 13:08:11 on Problem 1463
In Reply To:Re:这题greedy果然要比treedp慢的多...险些TLE...... Posted by:interma at 2007-07-03 15:57:06
> 没想出来树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