How to handle overflow in C ? Signed 32-bit int can not contain 2147483648


  • 0
    J

    One of the testcases is 2147483648.But the problem require return “int”.How can I handle this problem?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.