Ad
  • Default User Avatar

    if so many people have passed this kata, then please explain that this kata is about solving rounding errors and not about a Tortoise race.

  • Default User Avatar

    if it weren't for the rounding issue, this is a great kata, but I'm going to just have to "fail" it and move on, this is infuriating. i can't get it to work in any lang so far.

  • Custom User Avatar

    I'm having the same issue. I calculate a minutes that's 19.99999999 which rounds to 19 and is my only error. I'm not sure how to fix it. Anyone?!

  • Default User Avatar

    how do you solve the rounding errors?

  • Custom User Avatar

    I had a similar problem on the python kata ...

    it is a float precision problem - if you print your values, you will see.
    In my opinion the test cases are not well selected for "the fractions of a second won't matter" description

  • Default User Avatar

    As you can see at the top of the page 731 guys passed the Java kata. I just tried a few solutions and all worked fine.

  • Custom User Avatar

    This thing is broken. Failures are clean but when I actually solve (done it several ways), it times out. It's as if whatever happens after tests pass is breaking.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution