Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
用prim,比并查集快.In Reply To:老是超时,给几组测试数据,BT一点的 Posted by:springtty at 2005-07-14 01:39:21 > 使用和2421差不多的算法,但是这个程序就没那么幸运,老是超时,我使用数组来保存已有结点和未加入到树中的结点,从空间上多点一点,尽量优化了时间,还是超时,郁闷,请求指点。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator