Ad
  • Default User Avatar

    did you find the solution?

  • Custom User Avatar

    @ Raffaele Fiorillo, as the author mentioned, if you got, let's say, 11,4 rolls, if you round this to 11 then you will be 0.4 rolls short. You need to get the next integer, higher than your number of rolls.

  • Default User Avatar

    Not an issue of the kata but of your code: when "rounding" you are risking to have not enough rolls. When your "area needed" is "11.285480769230768" and your answer is "eleven" you don't have enough rolls...
    Moreover see at the top of the page how many guys passed the kata.