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 Acsaga at 2007-07-18 00:29:31 on Problem 3265
In Reply To:不是每个月都尽力的将钱花完吗,为什么不对呢? Posted by:anewman at 2007-07-18 00:20:22
比如
100 4
10 50
10 50
20 25
20 25

最短需要4月。 第二月解决1,第三月解决234;
而贪心的话,第二月解决12,第三月由于钱都花费在支付问题12的after上面,所以不能解决问题。第四月解决34.一共需要5个月。

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