Ad
  • Custom User Avatar

    why tho? i thought this one was pretty straight forward. whats your question?

  • Custom User Avatar

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

  • Custom User Avatar

    alphabetically.
    the description honestly sucks. what means "before as a string" anyway.

    80% of the time solving this was lost into figuring that out.

  • Custom User Avatar

    First kata i had with a really bad desciption. most of the time i needed to solve this was to understand what was asked of me.

    "180 is before 90 since, having the same "weight" (9) it comes before as a string." Is really not understandable at all. What the F does "it comes before as a string". First I tried string lenghth, then character numeric values. and whatnot. why not just say alphabatially. that was a pain.

    Also a small hassle was that the numbers can be to big for an integer, i guess i could have thought of that but it would have been nice in the description aswell.

  • Custom User Avatar

    I think this kata wants a Object oriented solution.. i feel like people on this site are all just scripting.. Well it works and its kinda modeld after the "real world"

  • Custom User Avatar

    ..just look on the solutions, everybody had to manually divide by 100, becuase thats the way its done

  • Custom User Avatar

    percentages are VERY VERY often given as 0.1 or 0.55 beacuse 25% of a given total is [total * 0.25)
    It is a lot more practicle to use x/1,
    But ofcourse, % is always over 100, its just another anotation.

    and Thanks! i didnt get that the content empties a percentage of whats left. i thought with (10, 10, 10) it would be 9 days, because you know, maths!