Give you - a 32-bit signed integer x, return will be part of the inversion result, the number in the x
If after inversion of integer is outside the range of 32-bit signed integer [- 231, 231-1]. It returns 0,
Assumes that the environment are not allowed to store 64 - bit integer (signed or unsigned),
CodePudding user response:
Go to after the actual use, this effort!
CodePudding user response: