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 |
二维dp//dp[i][j]: 在第i分钟花费j的精力下所跑的最长的距离 //dp[i][j] = dp[i - 1][j - 1] + value[i];(j > 0) //最终的输出dp[n][0] //dp[i][0] = max(dp[i - 1][0], dp[i - j][j](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