luyuhuang.github.io
luyuhuang.github.io copied to clipboard
避免使用无符号数 - Luyu Huang's Tech Blog
https://luyuhuang.tech/2017/08/19/avoid-using-unsigned-numbers.html
考察这样一段代码:int a = -1;unsigned int b = 1;if (a < b) printf(