Need help with wrong answer


  • 0
    W

    For input of:
    4, [[3,0],[0,1]],
    My program gives output of
    [2,0,1,3], which I think is one of the correct orderings since it means 1->2->0->3.

    However, the OJ says the answer is wrong and "Expected: Special judge: No expected output available."

    Anyone can help me with this case?


  • 0

    How does [2,0,1,3] mean 1->2->0->3?


  • 0
    W

    I think I misunderstood the problem, thank you for your reply!


Log in to reply
 

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