摘要: 1 int count_one(unsigned num){ 2 int count=0; 3 while(num){ 4 count++; 5 num=num&(num-1); 6 } 7 return count; 8 } 阅读全文
posted @ 2016-09-21 16:20 Disen 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目来源:赛码网http://exercise.acmcoder.com/online/online_judge_list /*************************************************************** 题目描述:股神 有股神吗?有,小赛就是!经过严 阅读全文
posted @ 2016-09-21 15:48 Disen 阅读(874) 评论(0) 推荐(0) 编辑