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:may be usefulIn Reply To:may be useful Posted by:tanghaibao at 2008-12-07 02:20:55 谢谢 > for (k=0; c; k++) c^=c&-c; > > gives the number (k) of bits set in integer c Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator