Commit graph

1 commit

Author SHA1 Message Date
096c3d3e5d Solve 2024:22 p1-2 "Monkey Market"
Part 1 was relatively easy, 2 was harder.

> So, by asking the monkey to sell the *first time*
> each buyer's prices go down 2, then up 1, then
> down 1, then up 3, you would get 23 (7 + 7 + 9)
> bananas!

Emphazis mine. Earlier versions of the code missed
this fact, and added all occourences of the sequence.
providing a answer that is too high.
2025-01-05 00:06:18 +01:00