LeetCode icon indicating copy to clipboard operation
LeetCode copied to clipboard

字节数字大小的估算

Open caipengbo opened this issue 6 years ago • 0 comments

2^10 = 1024 10^3 = 1000 1个int = 4个字节 32位,去掉一位符号位,31位,2^31 = 2*(2^30) ≈ 2 * (10^9)

caipengbo avatar Mar 25 '19 03:03 caipengbo