Need clarification for this question - the return value is an int, how come the expected answer returns an string


  • 3
    F

    What's the main diff between this one and the read4 I?

    How is the function getting called? -- the return value is an int, how come the expected answer returns an string?????

    Also, I am seeing below: -__-||||||||||||||

    Submission Result: Wrong Answer

    Input:
    "", [read(1)]
    Output:
    [""]
    Expected:
    [""]


  • 0
    K

    Please see my clarifications in this post


Log in to reply
 

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