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 schnee at 2011-07-08 19:56:59 on Problem 3483 and last updated at 2011-07-08 19:57:43
注意此题的贪心策略,由于没有任务开始时间,所以从后往前挤任务。
若是把任务从前往后插,不能过此例子
2 1
1 2
2 4
若是优先贪心截止时间小的,则不能过此例子
5 2
1 2
2 5
2 5
2 5
2 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