What about using 8436847412 as custom testcase?


  • 0
    L

    I think the testcases are not enough.

    If we use 8436847412 to run. I think it should be overflow. Just overflow 1. Isn't it ? Should it answer an negative integer?


  • 2
    R

    The accepted param should be an Integer, but the 8436847412 is out of the range of an Integer. So it might be an illegal param that should not be considered.


Log in to reply
 

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