Test case is wrong?


  • 0
    D

    I failed the test case which expected 'true' but my code returned 'false'. Apparently the first rectangle with '-1' block is an outlier.. 36 / 41 test cases passed before this one.

    [[0,-1,1,0],[0,0,1,1],[0,1,1,2],[0,2,1,3],[0,3,1,4],[0,4,1,5],[0,5,1,6],[0,6,1,7],[0,7,1,8],[0,8,1,9],[0,9,1,10],[0,10,1,11],[0,11,1,12],[0,12,1,13],[0,13,1,14],[0,14,1,15],[0,15,1,16],[0,16,1,17],

    .......
    [0,9976,1,9977],[0,9977,1,9978],[0,9978,1,9979],[0,9979,1,9980],[0,9980,1,9981],[0,9981,1,9982],[0,9982,1,9983],[0,9983,1,9984],[0,9984,1,9985],[0,9985,1,9986],[0,9986,1,9987],[0,9987,1,9988],[0,9988,1,9989],[0,9989,1,9990],[0,9990,1,9991],[0,9991,1,9992],[0,9992,1,9993],[0,9993,1,9994],[0,9994,1,9995],[0,9995,1,9996],[0,9996,1,9997],[0,9997,1,9998],[0,9998,1,9999]]


Log in to reply
 

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