Day 16 part 2 (bash version)

This commit is contained in:
2021-01-11 17:28:55 +01:00
parent aff61f5e5c
commit 7c168e6e39

View File

@@ -41,8 +41,6 @@ It doesn't matter which position corresponds to which field; you can identify in
Consider the validity of the nearby tickets you scanned. What is your ticket scanning error rate? Consider the validity of the nearby tickets you scanned. What is your ticket scanning error rate?
Your puzzle answer was 21996. Your puzzle answer was 21996.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two --- --- Part Two ---
Now that you've identified which tickets contain invalid values, discard those tickets entirely. Use the remaining valid tickets to determine which field is which. Now that you've identified which tickets contain invalid values, discard those tickets entirely. Use the remaining valid tickets to determine which field is which.
@@ -67,8 +65,12 @@ Based on the nearby tickets in the above example, the first position must be row
Once you work out which field is which, look for the six fields on your ticket that start with the word departure. What do you get if you multiply those six values together? Once you work out which field is which, look for the six fields on your ticket that start with the word departure. What do you get if you multiply those six values together?
Answer: Your puzzle answer was 650080463519.
Although it hasn't changed, you can still get your puzzle input. 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. You can also [Share] this puzzle.