会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
料峭
CnBlogs
Home
New Post
Contact
Admin
Subscription
2016年7月31日
C++求一个十进制的二进制中1的个数
int oneNumInBinary(int n){ int cnt=0; while(n){ n = n&(n-1); cnt++; } return cnt; }
Read More
posted @ 2016-07-31 14:32 料峭
Views(460)
Comments(0)
Diggs(0)
Edit
公告