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:求牛人看看 动态规划超时 Posted by:niuniu2006 at 2007-10-12 17:03:32 > 动态规划。 f(i,j)表示到(i,j)为止的最大长度,则: f(i,j)=max{f(i+a,j+b)}+1 {(a,b)=[(1,0),(-1,0),(0,1),(0,-1)], 0<i+a<=r,0<j+b<=c,high(i,j)<high(i+a,j+b)} Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator