| ||||||||||
| 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 | |||||||||
三维dpf[i][j][k]:i表示走的步数,j表示此时所在一条路径的横坐标,k表示此时所在另一条路径的横坐标.
然后纵坐标也就可以算出来了.
选取这个状态dp可以过.
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator