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

用prim,比并查集快.

Posted by xfxyjwf at 2005-07-14 04:50:57 on Problem 1751
In Reply To:老是超时,给几组测试数据,BT一点的 Posted by:springtty at 2005-07-14 01:39:21
> 使用和2421差不多的算法,但是这个程序就没那么幸运,老是超时,我使用数组来保存已有结点和未加入到树中的结点,从空间上多点一点,尽量优化了时间,还是超时,郁闷,请求指点。

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