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 |
DPdp[i][j] = min(dp[i - 1][j - 1], dp[i - 1][j + 1]) + 1 (map[i][j] && map[i - 1][j] 都是'-'). 注意N的奇偶性。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator