Ad
  • Custom User Avatar

    I would suggest to print some data that would help you make sure what the issue is. For example the groups and prices.
    Might be a minor error in the formulas or a rounding error in the answer.

  • Custom User Avatar

    Even when marked as spoiler, kata's general discussion is not the place to review functional code, you should ask in your solution instead.