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:我想知道我为啥错了,排序+贪心,我是把所有包含别的区间的区间都disable掉,再找,不好意思,贴代码求助

Posted by BloodElf at 2009-01-20 15:18:06 on Problem 1328
In Reply To:我想知道我为啥错了,排序+贪心,我是把所有包含别的区间的区间都disable掉,再找,不好意思,贴代码求助 Posted by:BloodElf at 2009-01-20 15:08:24
知道为什么错了。。
如果算出来的3个空间为[0,10],[5,15],[5,6]就会有问题。。。

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