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:FT...连通不了的也输出cost......

Posted by reason at 2008-09-13 16:53:33 on Problem 1679
In Reply To:FT...连通不了的也输出cost...... Posted by:hdu08p02 at 2008-09-09 16:42:56
居然m = 0的时候输出0
如果n != 0 && m == 0 这时候生成树不存在吧
我个人认为这种情况应该输出不唯一, 因为不存在, 唯一也没有

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