TostiHawaii@feddit.nltoAdvent Of Code@programming.dev•[2023 Day 7] Part 2 poorly specified
8·
11 months agoFor part 2, the only thing that I missed at first was the JJJJJ edge case. My approach was:
- count the amount of jokers
- remove them from the hand
- count the rest
- add the amount of jokers to the biggest set in the hand
Last step fails if there are no other cards left after you remove the jokers…
So wird es in die Niederlanden auch gemacht.
Immerhin gibt es auch hier genug Leute die aus dem Kreisverkehr raus fahren ohne zu blinken…