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:题目中给的最后那Q行数据有什么意义,该怎么处理他们?

Posted by zhengyl at 2008-10-30 18:41:12 on Problem 2421 and last updated at 2008-10-30 18:44:00
In Reply To:题目中给的最后那Q行数据有什么意义,该怎么处理他们? Posted by:rdstwww at 2007-05-29 09:27:34
是那些已经修好的路(a--b)
***************************
其实,只要把修好的边的权重赋为0
再用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