方法1: 方法2:(为一个字节打表) static unsigned char byte_bit_count[256]; 方法3:(计算一个字种所有位(0,1)的和) int count_bits(unsigned int x)} 相关文章: 2022-12-23 2021-08-12 1970-01-01 2021-12-28 2021-05-07 2021-11-23