Ad
  • Custom User Avatar

    There is a couple of problems with your solution, but two biggest ones are:

    • You try to collect all relevant numbers, which is not necessary (you could sum them right away),
    • You seem to count some numbers twice (if I read the code correctly).
  • Custom User Avatar

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