Ad
  • Custom User Avatar

    It's not proper solution - you just guessed test cases and you returned values for them. Think about correct mathematical formula.

  • Custom User Avatar

    Hello guys,

    Thank you for your feedback! It's my first kata here and I am glad you accepted it and translated into other languages!
    I will add more description to kata when I will have more free time.