This commit is contained in:
thornAvery 2021-12-14 21:43:35 +00:00
parent cb5da3cd96
commit 8b5adfcd3b
14 changed files with 40 additions and 30 deletions

View file

@ -43,8 +43,6 @@ How many measurements are larger than the previous measurement?
Your puzzle answer was 1832.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Considering every single measurement isn't as useful as you expected: there's just too much noise in the data.
@ -77,3 +75,8 @@ H: 792 (increased)
In this example, there are 5 sums that are larger than the previous sum.
Consider sums of a three-measurement sliding window. How many sums are larger than the previous sum?
Your puzzle answer was 1858.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -30,8 +30,6 @@ Calculate the horizontal position and depth you would have after following the p
Your puzzle answer was 1698735.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Based on your calculations, the planned course doesn't seem to make any sense. You find the submarine manual and discover that the process is actually slightly more complicated.
@ -56,4 +54,7 @@ After following these new instructions, you would have a horizontal position of
Using this new interpretation of the commands, calculate the horizontal position and depth you would have after following the planned course. What do you get if you multiply your final horizontal position by your final depth?
Your puzzle answer was 1594785890.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -33,8 +33,6 @@ Use the binary numbers in your diagnostic report to calculate the gamma rate and
Your puzzle answer was 4160394.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Next, you should verify the life support rating, which can be determined by multiplying the oxygen generator rating by the CO2 scrubber rating.
@ -64,3 +62,8 @@ As there is only one number left, stop; the CO2 scrubber rating is 01010, or 10
Finally, to find the life support rating, multiply the oxygen generator rating (23) by the CO2 scrubber rating (10) to get 230.
Use the binary numbers in your diagnostic report to calculate the oxygen generator rating and CO2 scrubber rating, then multiply them together. What is the life support rating of the submarine? (Be sure to represent your answer in decimal, not binary.)
Your puzzle answer was 4125600.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -55,8 +55,6 @@ To guarantee victory against the giant squid, figure out which board will win fi
Your puzzle answer was 45031.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
On the other hand, it might be wise to try a different strategy: let the giant squid win.
@ -65,3 +63,8 @@ You aren't sure how many bingo boards a giant squid could play at once, so rathe
In the above example, the second board is the last to win, which happens after 13 is eventually called and its middle column is completely marked. If you were to keep playing until this point, the second board would have a sum of unmarked numbers equal to 148 for a final score of 148 * 13 = 1924.
Figure out which board will win last. Once it wins, what would its final score be?
Your puzzle answer was 2568.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -66,6 +66,3 @@ Your puzzle answer was 17741.
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.
If you still want to see it, you can get your puzzle input.

View file

@ -5,7 +5,7 @@ A massive school of glowing lanternfish swims past. They must spawn quickly to r
Although you know nothing about this specific species of lanternfish, you make some guesses about their attributes. Surely, each lanternfish creates a new lanternfish once every 7 days.
However, this process isn't necessarily synchronized between every lanternfish - one lanternfish might have 2 days left until it creates another lanternfish, while another might have 4. So, you can model each fish as a single number that represents the number of days until it creates a new lanternfish.
However, this process isn't necessarily synchronized between every lanternfish - one lanternfish might have 2 days left until it creates another lanternfish, while another might have 4. So, you can model each fish as a single number that represents the number of days until it creates a nw lanternfish.
Furthermore, you reason, a new lanternfish would surely need slightly longer before it's capable of producing more lanternfish: two more days for its first cycle.
@ -50,11 +50,14 @@ Find a way to simulate lanternfish. How many lanternfish would there be after 80
Your puzzle answer was 395627.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Suppose the lanternfish live forever and have unlimited food and space. Would they take over the entire ocean?
After 256 days in the example above, there would be a total of 26984457539 lanternfish!
How many lanternfish would there be after 256 days?
Your puzzle answer was 1767323539209.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -57,8 +57,3 @@ Your puzzle answer was 96798233.
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.
If you still want to see it, you can get your puzzle input.
You can also [Share] this puzzle.

View file

@ -68,8 +68,6 @@ In the output values, how many times do digits 1, 4, 7, or 8 appear?
Your puzzle answer was 330.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Through a little deduction, you should now be able to determine the remaining digits. Consider again the first example above:
@ -120,4 +118,7 @@ Adding all of the output values in this larger example produces 61229.
For each entry, determine all of the wire/segment connections and decode the four-digit output values. What do you get if you add up all of the output values?
Your puzzle answer was 1010472.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -22,8 +22,6 @@ Find all of the low points on your heightmap. What is the sum of the risk levels
Your puzzle answer was 550.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Next, you need to find the largest basins so you know what areas are most important to avoid.
@ -62,3 +60,8 @@ The bottom-right basin, size 9:
Find the three largest basins and multiply their sizes together. In the above example, this is 9 * 14 * 9 = 1134.
What do you get if you multiply together the sizes of the three largest basins?
Your puzzle answer was 1100682.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -51,8 +51,6 @@ Find the first illegal character in each corrupted line of the navigation subsys
Your puzzle answer was 392043.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Now, discard the corrupted lines. The remaining lines are incomplete.
@ -90,3 +88,8 @@ The five lines' completion strings have total scores as follows:
Autocomplete tools are an odd bunch: the winner is found by sorting all of the scores and then taking the middle score. (There will always be an odd number of scores to consider.) In this example, the middle score is 288957 because there are the same number of scores smaller and larger than it.
Find the completion string for each incomplete line, score the completion strings, and sort the scores. What is the middle score?
Your puzzle answer was 1605968119.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -340,8 +340,3 @@ Your puzzle answer was 337.
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.
If you still want to see it, you can get your puzzle input.
You can also [Share] this puzzle.

View file

@ -142,3 +142,4 @@ Given these new rules, how many paths through this cave system are there?
Your puzzle answer was 105453.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -111,3 +111,4 @@ What code do you use to activate the infrared thermal imaging camera system?
Your puzzle answer was EPZGKCHU.
Both parts of this puzzle are complete! They provide two gold stars: **

View file

@ -59,3 +59,4 @@ Apply 40 steps of pair insertion to the polymer template and find the most and l
Your puzzle answer was 4110215602456.
Both parts of this puzzle are complete! They provide two gold stars: **