| ||||||||||
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 |
一直WA的同学可以参考一下之前所有数据都过了,结果还是不停WA,最后才发现板的高度限制应该是 <= 最大高度,嘻嘻。 其实这题用DP不用计算垂直距离(不管怎么跳,总是从那么高跳下来),只要计算水平距离就可以了 先对板按高度排序,从最下面的板算起 计算是往板的左边跑快还是往右边跑快,注意不要摔死 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator