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 |
建树的复杂度应该是O(n)吧。。In Reply To:用线段树吧,中间记录点东西,建树复杂度应该是n*logN,然后查询一次是logN Posted by:pku_ghost at 2007-08-30 17:03:57 > Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator