Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:这题greedy果然要比treedp慢的多...险些TLE......In Reply To:Re:这题greedy果然要比treedp慢的多...险些TLE...... Posted by:interma at 2007-07-03 15:57:06 > 没想出来树dp,:-< > 只好贪心了,很慢。。。 怎么贪呀??我是从叶结点开始,如果没有士兵,就在父结点放一个士兵。这样对吗?? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator