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:这个题用什么方法?In Reply To:Re:这个题用什么方法? Posted by:032989 at 2008-09-18 21:12:20 dp[i][j]在第i分钟,精力消耗j的情况下最远距离, 并且在第j分钟是running的 也就意味着dp[i-j, .., i][1, ..., j]也是运动的, 所以方程如下: dp[i][j]=dp[i-1][j-1]+dis[i]; dp[i][0]=max3(dp[i][0], dp[i-1][0], dp[i-j][j]); Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator