aboutsummaryrefslogtreecommitdiffstats
path: root/src/01/part2
blob: 5e5b59ab8213198a3c67f7a4b2010897c3ead489 (plain) (blame)
1
2
3
4
5
6
7
8
9
--- Part Two ---

The Elves in accounting are thankful for your help; one of them even offers you a starfish coin they had left over from a past vacation. They offer you a second one if you can find three numbers in your expense report that meet the same criteria.

Using the above example again, the three entries that sum to 2020 are 979, 366, and 675. Multiplying them together produces the answer, 241861950.

In your expense report, what is the product of the three entries that sum to 2020?