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 |
为啥很多人用线段树?8000显然O(n^2)可以过啊,而且这只是理论上界,实际到不了,并且常数很小。感觉很多人根本没有进行数据上界分析……如果要练线段树的话实在没必要用这题练,这就像一个快排的题你用BST做一样,完全可以练,但是显然有更好的题目练习。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator