摘要: 以下算法摘自:http://topic.csdn.net/u/20090601/19/454ba8be-a80a-4092-a5da-ad7a0b791a2d.html随便感叹下:牛人真多。1 //解法一2 #define UNSIGNED_BITS_COUNT 323 unsigned int BitRev3(unsigned int input) 4 { 5 unsigned int ret, i; 6 for(ret = i = 0; i < UNSIGNED_BITS_COUNT; i++, input = input >> 1) 7 ret = (ret ... 阅读全文
posted @ 2011-09-08 14:27 文炜 阅读(1321) 评论(0) 推荐(0) 编辑