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:郁闷,写了个并查集加上线段树,也tle,哎!

Posted by Iambitious at 2006-11-01 17:23:16 on Problem 2985
In Reply To:Re:郁闷,写了个并查集加上线段树,也tle,哎! Posted by:Iambitious at 2006-11-01 17:08:42
> 没天理了,把所有关于线段树的操作用循环代替递归,还是tle,死了。
仔细的看了一下程序,算法复杂度绝对是m*logn的,不行了。

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