Ad
  • Default User Avatar

    ah ok, so we are preserving the total number of digits, not the total number of zeros. Gotcha!

  • Default User Avatar

    so foobar00999 => foobar001000, not foobar01000 right?

  • Default User Avatar

    i believe there is an issue for one of the test cases here (ruby)

    Expected: "foobar01000", instead got: "foobar001000"

    if it expected "foobar01000" then the input should be "foobar0999"?
    using this as my input does indeed yield "foobar01000"
    did you add an extra "0" in this test case?