X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=problems%2Fday04.html;fp=problems%2Fday04.html;h=6ea5e77bfff0c6c8bf0b72edeebd77c4004a1bcf;hb=e80e4613a49128d3475e358ec9e8ecd51dda482c;hp=0000000000000000000000000000000000000000;hpb=08852bf6a35168d6cbbf8836ea3e67c01b129034;p=advent-of-code-19.git diff --git a/problems/day04.html b/problems/day04.html new file mode 100644 index 0000000..6ea5e77 --- /dev/null +++ b/problems/day04.html @@ -0,0 +1,143 @@ + + + + +Day 4 - Advent of Code 2019 + + + + + + + +

Advent of Code

Neil Smith (AoC++) 8*

   0x0000|2019

+ + + +
+

--- Day 4: Secure Container ---

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 1955.

--- Part Two ---

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 1319.

Both parts of this puzzle are complete! They provide two gold stars: **

+

At this point, you should return to your Advent calendar and try another puzzle.

+

Your puzzle input was 134792-675810.

+

You can also this puzzle.

+
+ + + + + + \ No newline at end of file