随手记录,持之以恒。(•̀ᴗ•́)و
unsigned int 0~4294967295 (10位数,4e9)
int -2147483648~2147483647 (10位数,2e9 2^31 - 1)
long long: -9223372036854775808~9223372036854775807 (19位数, 9e18 ) 2^63 - 1
unsigned long long:0~18446744073709551615 (20位数,1e19) 2^64 - 1
既然选择了远方,就要风雨兼程~
本文详细介绍了不同整数类型所能表示的数值范围,包括unsigned int、int、long long和unsigned long long,覆盖从10位到20位数的表示能力。
9188

被折叠的 条评论
为什么被折叠?



