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 |
Re:i think it is impossible, you need to sort it first.In Reply To:i think it is impossible, you need to sort it first. Posted by:dynamic at 2003-11-01 20:57:42 Yes.The O(nlogn) is the best case. The O(n) algorithm is based on the initialization (sorting) having already done. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator