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:如果区间可以重叠,请问有没有什么好方法可以解决?

Posted by ez_xlh at 2011-07-16 20:13:27 on Problem 2665
In Reply To:如果区间可以重叠,请问有没有什么好方法可以解决? Posted by:yj0821421350 at 2011-02-16 19:18:55
用线段树,因为最多只有10000个点,排序后编号然后压缩,就可以轻松水过

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