Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
需要讨论的情况~几种情况的讨论: 1,无root ; 2,多个root;1,2都不是树 3,必须连通; 4,结点自身连接的边这样不是树; 5,入度大于1的节点这样不是树; 6,再就是题目说的结束条件是输入两个负数 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator