Micah Halter 1e2d6497b9 Updated run for all days to check for modules in utils folder | 1 month ago | |
---|---|---|
.. | ||
README.md | 1 month ago | |
answer.hs | 1 month ago | |
input | 1 month ago | |
run.sh | 1 month ago |
You arrive at the Venus fuel depot only to discover it’s protected by a password. The Elves had written the password on a sticky note, but someone threw it out.
However, they do remember a few key facts about the password:
Other than the range rule, the following are true:
How many different passwords within the range given in your puzzle input meet these criteria?
Your puzzle answer was 1079
.
An Elf just remembered one more important detail: the two adjacent matching digits are not part of a larger group of matching digits.
Given this additional criterion, but still ignoring the range rule, the following are now true:
How many different passwords within the range given in your puzzle input meet all of the criteria?
Your puzzle answer was 699
.