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

Re:请教大牛为什么油量每次只加1 而不是从0加到容量上限为止?

Posted by Sue0610 at 2012-05-02 21:31:23 on Problem 3635
In Reply To:请教大牛为什么油量每次只加1 而不是从0加到容量上限为止? Posted by:allen4053040allen at 2011-07-12 19:14:34
因为这个是一个贪心的过程吧,能继续往下走就走,不能走的时候才会加油继续走的,这样符合贪心的思想…

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