Integer.MAX_VALUE
if(ans > Integer.MAX_VALUE / 10 || (ans == Integer.MAX_VALUE && temp > 7) || (ans < Integer.MIN_VALUE /10 || (ans == Integer.MIN_VALUE && temp < -8))){ return 0; }
转载于:https://www.cnblogs.com/ppCola/p/11324843.html