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

请教

Posted by scu05p08 at 2005-08-25 10:40:22 on Problem 2134
我是这样做的,WA

用一个2元组表示状态(位置,速度)
如果时间t的时候,位置i和速度j是可达到的
那么时间t+1的时候,位置(i+j),速度j+1,位置(i+j),速度j+1,位置(i+j) ,速度(j-1)这三种状态是可达的
就这样滚动的推下去,直到位置(L) ,速度(0)是可达的,输出当时的时间t

请高手们讲一下,我为什么错了啊



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