Ad
  • Default User Avatar

    Actually both of you are correct - the problem description is wrong:
    "which given a string will output the error rate of the printer as a string"

    I simply assumed the problem meant returning the string, but the description says "output".

  • Custom User Avatar

    Why would you add a newline to the output when it's not mentioned anywhere?

  • Custom User Avatar

    Same for me. Three solutions very similar to other solutions showed here and still got timed out. Odd.