Ad
  • Default User Avatar

    Yeah, I see your solution, I guess if you work hard for the next 15 years you will see why those 52 people had that opinion. Good look!

  • Default User Avatar

    Well, the solution was not meant to be "clever" (whatever you might think that is), it was meant to work, whick it does. If you don't see what's going on by just looking at it, don't assume any other dev will struggle the same way.

  • Default User Avatar

    Hey, don't blame the solution if you are not smart enough to understand it lol

  • Default User Avatar

    Plainly useless kata, this is not about coding or even math, this is about getting the same rounding error that the authors got, you can have the most accurate answer and even so you might not pass the test because you divided then rounded and the authors did otherwise. If you want a coding challenge skip this kata, if you want to loose your time trying to figure out what math operations order the authors used, then by all means try this