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

If you find line a and line b intersect in a point, the line below can be ignore in later's search. So,much less than n^2.

Posted by piaoxing176 at 2005-10-15 01:45:53
In Reply To:Re:an O(n^2) way Posted by:griffon at 2005-10-15 01:11:21
> But n <= 100000, n^2 <= 10^10, it's to slow!

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