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

遍历2叉树也超时,不知要怎么个DP法

Posted by nbu_test at 2005-10-25 18:28:09 on Problem 2671
In Reply To:然后怎样做呀……还是搞不定 Posted by:sunmc at 2005-10-20 08:28:35
经过多次尝试,还是超时!郁闷了!!
我是遍历2叉树,每个点的下一个节点必定是与它相连且没有被访问过的两个点。。。
可是居然这样也超。。。
想用DP,可惜不会。。

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