The m and n limits are to wrong


  • 0
    D

    If you try with 60 60 the Accepted solution will return -234078496 so i thing the answer should be returned MOD some prime number or the limits (m,n<= 100 ) changed.


Log in to reply
 

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