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 |
线段树是做数据用的吧?我想到一个用bst的,不过数据bt的话好像会退化到O(n^2)In Reply To:没做过这个题目,看了一下,感觉线段树可以做到nlgn,可能还能简化一下 Posted by:hawk at 2005-05-09 22:57:32 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator