Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

f是一litre油要被油站抢劫多少,p是跑到第n个站之后剩i那么多油要多少钱

Posted by frkstyc at 2005-07-11 01:08:09 on Problem 2465
In Reply To:P[n][i]是到第n站,油为i时的最少费用,对f不是很明白,f = pri[n]? 那方程是不是p[n][i]=min(p[n-1][i+d],p[n][i-1]+pri[i]) Posted by:sunmoonstar_love at 2005-07-11 01:06:25


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator