Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
ce一次后AC了!没有d<0和y<0的情况利用贪心,先按x从左到右排序。求出每个点对应的雷达可以再的区间,然后判断区间之间是否有重复,有的话更新区间,没有的话让cnt++,表示要新增一个雷达,走完n次后,cnt就是所求结果 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator