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 |
也可以用吧,从后往前算In Reply To:线段树是做数据用的吧?我想到一个用bst的,不过数据bt的话好像会退化到O(n^2) Posted by:frkstyc at 2005-05-10 12:28:30 线段树用来记录已经算出来的数的个数 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator