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:原来真正的prim是O(N^2),以前写的都是O(N^3),幸好这次超时,让我发出了自己的错误!

Posted by Acamel at 2009-10-17 04:44:37 on Problem 1751
In Reply To:原来真正的prim是O(N^2),以前写的都是O(N^3),幸好这次超时,让我发出了自己的错误! Posted by:lync at 2009-05-09 22:41:37
用堆维护就优化成mlogn了

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