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 0ms,你的tle是不是输入结束条件弄错了啊,我第一次就是这么超的

Posted by scrip at 2007-09-13 20:33:43 on Problem 1258
In Reply To:晕死了。karuscal算法怎么会超时?? Posted by:yangguo981 at 2006-05-04 00:33:41
> 不过觉得无向图判断有无环好麻烦啊,要找连通分量,还要对每个连通分量计算边数,再比较。
> 搞了2个小时搞不定,
> 最后用prim搞定了,10分钟……
> ft了。

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