Reflowed problems and added solutions

This commit is contained in:
2018-03-15 11:24:23 -05:00
parent 986d17f104
commit 2a37946673
50 changed files with 2124 additions and 1464 deletions

View File

@@ -2,13 +2,16 @@ Advent of Code
--- Day 6: Signals and Noise ---
Something is jamming your communications with Santa. Fortunately, your signal is only partially jammed, and protocol in situations like this is to switch to
a simple repetition code to get the message through.
Something is jamming your communications with Santa. Fortunately, your
signal is only partially jammed, and protocol in situations like this is to
switch to a simple repetition code to get the message through.
In this model, the same message is sent repeatedly. You've recorded the repeating message signal (your puzzle input), but the data seems quite corrupted -
almost too badly to recover. Almost.
In this model, the same message is sent repeatedly. You've recorded the
repeating message signal (your puzzle input), but the data seems quite
corrupted - almost too badly to recover. Almost.
All you need to do is figure out which character is most frequent for each position. For example, suppose you had recorded the following messages:
All you need to do is figure out which character is most frequent for each
position. For example, suppose you had recorded the following messages:
eedadn
drvtee
@@ -27,12 +30,14 @@ Advent of Code
dvrsen
enarar
The most common character in the first column is e; in the second, a; in the third, s, and so on. Combining these characters returns the error-corrected
The most common character in the first column is e; in the second, a; in the
third, s, and so on. Combining these characters returns the error-corrected
message, easter.
Given the recording in your puzzle input, what is the error-corrected version of the message being sent?
Given the recording in your puzzle input, what is the error-corrected
version of the message being sent?
Your puzzle answer was ________.
Your puzzle answer was cyxeoccr.
--- Part Two ---
@@ -47,7 +52,7 @@ Advent of Code
Given the recording in your puzzle input and this new decoding methodology, what is the original message that Santa is trying to send?
Your puzzle answer was ________.
Your puzzle answer was batwpask.
References