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:The input n is NOT always a form of 2^k!!!

Posted by moonancient at 2008-06-29 19:10:00 on Problem 3606
In Reply To:The input n is NOT always a form of 2^k!!! Posted by:gubuntu at 2008-06-29 18:44:35
同感
我的程序当时计算了每个节点有多少个输入端,对只有2个输入端的节点特殊处理就wrong answer
后来改成判断其子节点编号是否小于n-1就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