You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 06/log.txt
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,18 @@ dvrsen
24
24
enarar
25
25
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.
26
26
27
-
Given the recording in your puzzle input, what is the error-corrected version of the message being sent?
27
+
Given the recording in your puzzle input, what is the error-corrected version of the message being sent?
28
+
29
+
Your puzzle answer was nabgqlcw.
30
+
31
+
The first half of this puzzle is complete! It provides one gold star: *
32
+
33
+
--- Part Two ---
34
+
35
+
Of course, that would be the message - if you hadn't agreed to use a modified repetition code instead.
36
+
37
+
In this modified code, the sender instead transmits what looks like random data, but for each character, the character they actually want to send is slightly less likely than the others. Even after signal-jamming noise, you can look at the letter distributions in each column and choose the least common letter to reconstruct the original message.
38
+
39
+
In the above example, the least common character in the first column is a; in the second, d, and so on. Repeating this process for the remaining characters produces the original message, advent.
40
+
41
+
Given the recording in your puzzle input and this new decoding methodology, what is the original message that Santa is trying to send?
0 commit comments