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:对稠密图kruskal的效率果然很慢。。。跑了400ms

Posted by ghbgh at 2014-03-22 22:37:18 on Problem 2349
In Reply To:对稠密图kruskal的效率果然很慢。。。跑了400ms Posted by:20092462 at 2012-04-08 20:16:45
Kruskal跑了188ms, 优化在只添加p-s条边, 不用跑完.
Prim还是跑了47ms, 稠密图必须的.

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