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:我DP的,不知道标准答案是什么方法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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator