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 zhanglezju at 2008-09-21 20:39:50 on Problem 1328 and last updated at 2008-09-21 20:50:10
每个点转化成一个圆心坐标的取值区间,按区间的右端点排序。
每次去第一个未被覆盖的点,也就是未被覆盖的点里右端点最小的,将所有左端点小于等于这个右端点的区间都标记为覆盖,结果数加一。
直到所有点都被覆盖为止。

一直WA,是想法错了还是实现错了?

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