关于字符集,在做一个练习的时候答案给出了个WTF的东东
请看下mian :How many bits would be needed to represent a character set containing 45 characters? Why?
这个是问题,答案前面的跟我的想法一致,,但是,,,接下来的解释感觉莫名...XXXX了
答案:
6 bits. 63 distinct things can be represented in 6bits; 31 distinct things can be represented in 5 bits. Therefore 6 bits must be used.
来位大神科普下常识,扭正三观,我等刁民速速退下吧{:10_266:} 以上我比较奇怪的是为什么是63 和 31 不是应该是 64和32种吗{:10_266:}
页:
[1]