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

不管管不管方向都AC了,但按理说树应该是没方向的,要不然为什么树上的每个结点到另一个根结点都有且仅有一条路径呢?

Posted by Gyber at 2011-04-27 20:04:53 on Problem 1308
In Reply To:2 1 3 1 4 1 是不是树???没有方向?? Posted by:fff123 at 2011-04-07 15:33:47
题目里的树也可以是空树,实际上树不能是空的,至少要有一个根结点,所以题中所谓的树和我们说的树不太一样。
不过管不管方向都AC。

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