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 200730690331 at 2009-02-28 00:10:36 on Problem 1679
In Reply To:Re:FT...连通不了的也输出cost...... Posted by:reason at 2008-09-13 16:53:33
> 居然m = 0的时候输出0
> 如果n != 0 && m == 0 这时候生成树不存在吧
> 我个人认为这种情况应该输出不唯一, 因为不存在, 唯一也没有

我的程序输入m==0时就输出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