see some malformed test cases?


  • 0
    K

    Hi, When I submitted my code, I saw below test cases.
    and I already saw such cases several times, Anyone know why this happen?

    [[1
    0
    0
    0
    0
    0
    0
    0
    0
    0]
    [0
    1
    0
    0
    0
    0
    0
    0
    0
    0]
    [0
    0
    1
    0
    0
    0
    1
    1
    0
    0]
    [0
    0
    0
    1
    0
    0
    0
    0
    1
    1]
    [0
    0
    0
    0
    1
    0
    0
    1
    0
    0]
    [0
    0
    0
    0
    0
    1
    0
    1
    1
    1]
    [0
    0
    1
    0
    0
    0
    1
    0
    0
    1]
    [0
    0
    1
    0
    1
    1
    0
    1
    0
    0]
    [0
    0
    0
    1
    0
    1
    0
    0
    1
    0]
    [0
    0
    0
    1
    0
    1
    1
    0
    0
    1]]


  • 0

    It happens when the input arrays contain spaces. Try again, should be fixed now.


Log in to reply
 

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