day 16 part 2 (before code cleanup)

This commit is contained in:
2021-12-21 11:57:04 +01:00
parent 50963c233b
commit bdfad93f4a
2 changed files with 87 additions and 79 deletions

View File

@@ -93,8 +93,6 @@ Here are a few more examples of hexadecimal-encoded transmissions:
Decode the structure of your hexadecimal-encoded BITS transmission; what do you get if you add up the version numbers in all packets?
Your puzzle answer was 923.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
Now that you have the structure of your transmission decoded, you can calculate the value of the expression it represents.
@@ -123,3 +121,7 @@ For example:
9C0141080250320F1802104A08 produces 1, because 1 + 3 = 2 * 2.
What do you get if you evaluate the expression represented by your hexadecimal-encoded BITS transmission?
Your puzzle answer was 258888628940.
Both parts of this puzzle are complete! They provide two gold stars: **