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

线段树是做数据用的吧?我想到一个用bst的,不过数据bt的话好像会退化到O(n^2)

Posted by frkstyc at 2005-05-10 12:28:30 on Problem 2182
In Reply To:没做过这个题目,看了一下,感觉线段树可以做到nlgn,可能还能简化一下 Posted by:hawk at 2005-05-09 22:57:32


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