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

Re:都用快排了,为什么还是超时??(数据方面的问题应该没有,就是超时...)(c/c++高人请进)

Posted by SLAMDUNK2008 at 2008-07-17 15:31:03 on Problem 1002
In Reply To:都用快排了,为什么还是超时??(数据方面的问题应该没有,就是超时...)(c/c++高人请进) Posted by:zhqtry at 2008-04-27 12:42:32
估计测试数据测到了快排的最坏情况,在最坏情况下,快排的效率只有O(n^2).

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