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

注意 当不连通时,输出为-1的情况。

Posted by ldc_hust at 2008-04-28 12:57:09 on Problem 2377 and last updated at 2008-04-28 13:00:10
注意:  当不连通时,输出为-1的情况以及重边(例:1 3 7 . 1  3 8  则1 3的代价为8)
我就是没考虑这WA了两次!!!

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