The test case gives incorrect answer, whereas my program gives correct :=)


  • -1
    Z

    I am wondering how correct solution can be accepted No comments even needed to explain why :) LOL

    "2-3*2"

    Your answer

    -4

    Expected answer

    -3


    Your input

    "(2-3)*2"

    Your answer

    -2

    Expected answer

    -3


  • 0
    J

    Because the question is only for + and -. not *


Log in to reply
 

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