摘要: 求下面函数的返回值(微软) -- 统计1的个数-------------------------------------int func(int x){int countx = 0;while(x){countx++;x = x&(x-1);}return countx;} 假定x = 999910... 阅读全文
posted @ 2012-02-15 21:16 wangicter的博客 阅读(170) 评论(0) 推荐(0) 编辑