Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
a segment tree will provide a O(logn) running time per operationIn Reply To:Colmplexity of the algorithm Posted by:8031987 at 2006-08-27 18:03:31 > I've used disjoint-set data structure with Fenwick's tree(to find k-th element in log^2(n)). But it taken TL. > And what about your solution? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator