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

ce一次后AC了!没有d<0和y<0的情况

Posted by jieyj at 2010-01-16 15:45:32 on Problem 1328
利用贪心,先按x从左到右排序。求出每个点对应的雷达可以再的区间,然后判断区间之间是否有重复,有的话更新区间,没有的话让cnt++,表示要新增一个雷达,走完n次后,cnt就是所求结果

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