Ad
  • Custom User Avatar

    From Voile's post below, that operation translates to this:
    0 / 117 -> 0 / 89 -> 0
    Actual and expected seems to be flipped on some tests.

  • Custom User Avatar

    ...All of the ?s in an expression will represent the same digit (0-9), and it won't be one of the other given digits in the expression.

    That

  • Custom User Avatar

    You're probably misunderstanding what to do, read the kata description again:

    • Given an expression, figure out the value of the rune represented by the question mark. If more than one digit works, give the lowest one. If no digit works, well, that's bad news for the professor - it means that he's got some of his runes wrong. output -1 in that case.
    • Don't get what you're saying there, could you provide the input and expected answer of those tests?
    • Already answered above.