Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

没测试,我写的O(nlogn)巨慢无比

Posted by wywcgs at 2006-11-08 15:04:04 on Problem 3080
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator