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 457 at 2009-07-28 08:48:28 on Problem 3342
我的做法是只要有一个根的子树有两种情况相等并且这个根两种情况相等就是no;
最终的根节点的两种情况相等也是no。
其他的就是yes了。

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