LeetCode 小注(Java 语言描述)

取整数的最大值和最小值
Integer.MAX_VALUE == 2147483647
Integer.MIN_VALUE == -2147483648
Integer.MAX_VALUE + 1 == -2147483648
Integer.MIN_VALUE - 1 == 2147483647
Integer.parseInt(“2147483648”) throw java.lang.NumberFormatException: For input string: “2147483648”

猜你喜欢

转载自blog.csdn.net/DMW2016/article/details/83576644
今日推荐