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 |
就是p[n][i]=min(p[n-1][i+d],p[n][i-1])+f啊,d是前后两站的距离,f是钱,然后滚动数组就行了In Reply To:能教教我,平方的么,现在写DP都只会立方的 Posted by:sunmoonstar_love at 2005-07-11 00:41:04 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator