摘要:
以下算法摘自: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 ... 阅读全文