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:我DP的,不知道标准答案是什么方法

Posted by shh at 2012-07-29 14:35:08 on Problem 3783
In Reply To:我DP的,不知道标准答案是什么方法 Posted by:palqing at 2011-03-20 16:05:29
从http://blog.163.com/ty_sky0908/blog/static/133360335201101155853282/看到的DP公式,

状态转移方程:f[n,m] = min{ 1+max(f[i-1,m-1], f[n-i,m]) | i=1..n }  
初始条件:f[i,0]=0(或f[i,1]=i),对所有i 

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