Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:同样是位操作In Reply To:Re:同样是位操作 Posted by:huhuhuhh at 2010-04-04 19:19:40 这样是比较拗口。就是从x的最低位开始找第一个为1的位,找到后把其它位都置0,得到的数就是x结点的叶子数。有了叶子数就自然知道答案了。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator