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:什么叫做有重边啊?

Posted by TOTOT at 2007-11-29 22:27:41 on Problem 2377
In Reply To:什么叫做有重边啊? Posted by:00648154 at 2007-11-29 10:49:55
有重边就输出权较大的那个
你没输出-1吧
> 我的也是WA,用的是prim算法
> 意思是平行边吗?那样不是取平行边中权大的那一个吗?
> 请大牛指点一下,谢谢! 

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