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

建树的复杂度应该是O(n)吧。。

Posted by TheBeet at 2007-08-30 18:33:15 on Problem 3368
In Reply To:用线段树吧,中间记录点东西,建树复杂度应该是n*logN,然后查询一次是logN Posted by:pku_ghost at 2007-08-30 17:03:57
> 

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