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(nlogn)巨慢无比In Reply To:这个没考虑到, O(n)的系数 比 O(nlgn)的系数*lgn大多少 Posted by:sunmoonstar_love at 2006-11-08 15:00:59 不过如果只从算法层面比较的话,我认为 除非规模特大,否则O(n)比O(nlogn)快不到哪去,弄不好还比O(nlogn)慢 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator