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:一种方法

Posted by freebsdx at 2008-09-08 10:01:49 on Problem 1308
In Reply To:一种方法 Posted by:KosonLau at 2007-12-14 21:28:31
> 用数组存储每个点的父亲节点数,然后判断是否只有一个点没父亲,其余点都只有一个父亲.
如果出现森林的情况就说不通了啊???

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