摘要: 2.65 int even_ones(unsigned x) 要求:return 1 when x contains an even number of 1s; 0 otherwise. 假设int 有 w=32位。 分析:最应该使用的是循环,但是循环语句不能使用。如果一个一个的写成语句,需要32次 阅读全文
posted @ 2015-09-21 11:20 wangyanphp 阅读(528) 评论(0) 推荐(0) 编辑