Output is same as Expected but show wrong message

  • 0

    Input: "17039", "7218"
    Output: "122987502"
    Expected: "122987502"

    oj shows this when message is wrong.

  • 3

    Most probably the string you returned from your code has some invisible ASCII characters. These ASCII characters (such as NUL) are not printable, and therefore you will not see it in the output.

Log in to reply

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