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 damacheng009 at 2010-06-22 13:55:38 on Problem 2309
In Reply To:Re:同样是位操作 Posted by:huhuhuhh at 2010-04-04 19:19:40
这样是比较拗口。就是从x的最低位开始找第一个为1的位,找到后把其它位都置0,得到的数就是x结点的叶子数。有了叶子数就自然知道答案了。。

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