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 00448242 at 2005-07-18 00:30:08 on Problem 2489
In Reply To:可以说得详细点吗 Posted by:patina at 2005-07-18 00:26:55
先按斜率以及距原点距离排序,于是同一条直线上的线段聚在了一起(只要能搞出这个结果,按什么排都行)
然后对同一直线上的这些线段使用线段树统计相交的对数.

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