2020 day 24 part 2 (bash)

This commit is contained in:
2022-10-10 16:09:24 +02:00
parent 563798871a
commit d2b5a9dc34
4 changed files with 84 additions and 3 deletions

View File

@@ -42,8 +42,6 @@ In the above example, 10 tiles are flipped once (to black), and 5 more are flipp
Go through the renovation crew's list and determine which tiles they need to flip. After all of the instructions have been followed, how many tiles are left with the black side up?
Your puzzle answer was 450.
The first half of this puzzle is complete! It provides one gold star: *
--- Part Two ---
The tile floor in the lobby is meant to be a living art exhibit. Every day, the tiles are all flipped according to the following rules:
@@ -81,3 +79,7 @@ Day 100: 2208
After executing this process a total of 100 times, there would be 2208 black tiles facing up.
How many tiles will be black after 100 days?
Your puzzle answer was 4059.
Both parts of this puzzle are complete! They provide two gold stars: **