1
virusdefender 2015-01-20 23:03:01 +08:00
Did you notice that the reversed integer might overflow? Assume the input is a 32-bit integer, then the reverse of 1000000003 overflows. How should you handle such cases?
For the purpose of this problem, assume that your function returns 0 when the reversed integer overflows. 你没看提示啊 |
2
virusdefender 2015-01-20 23:05:08 +08:00
python 的话也要按照32位数来算
|
3
imkh OP @virusdefender 那怎样按照32位数来算?
|
4
virusdefender 2015-01-20 23:14:25 +08:00 1
|
5
imkh OP @virusdefender 感谢。
|