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解题思路:In Reply To:这题是个很显然的DP啊 为什么都说是搜索呢? Posted by:alpc56 at 2009-08-23 16:37:03 按照chase[N-1]到chase[0] DP for(k=n-1;k>=0;k--) dp[i][j](bool) 表示点坐标(i,j)作为完成后k个chase的起点的可行性 DP完chase[0] 检查dp[][]得到可行解的个数就OK了 真不明白搜索是怎么写得? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator