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

需要讨论的情况~

Posted by piratex at 2007-05-03 21:48:36 on Problem 1308
几种情况的讨论:
1,无root ;
2,多个root;1,2都不是树
3,必须连通;
4,结点自身连接的边这样不是树;
5,入度大于1的节点这样不是树;
6,再就是题目说的结束条件是输入两个负数

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