2022 day 6: Bash part 2 (lucky me: part 1 code worked) + optimizations

This commit is contained in:
2022-12-09 14:38:21 +01:00
parent 6a5a0da435
commit 05643127c2
3 changed files with 36 additions and 55 deletions

View File

@@ -61,8 +61,6 @@ start-of-packet marker is detected?/
Your puzzle answer was =1658=.
The first half of this puzzle is complete! It provides one gold star: *
** --- Part Two ---
Your device's communication system is correctly detecting packets, but
still isn't working. It looks like it also needs to look for /messages/.
@@ -82,11 +80,6 @@ above examples:
/How many characters need to be processed before the first
start-of-message marker is detected?/
Answer:
Your puzzle answer was =2260=.
Although it hasn't changed, you can still [[file:6/input][get your
puzzle input]].
You can also [Shareon
[[https://twitter.com/intent/tweet?text=I%27ve+completed+Part+One+of+%22Tuning+Trouble%22+%2D+Day+6+%2D+Advent+of+Code+2022&url=https%3A%2F%2Fadventofcode%2Ecom%2F2022%2Fday%2F6&related=ericwastl&hashtags=AdventOfCode][Twitter]]
[[javascript:void(0);][Mastodon]]] this puzzle.
Both parts of this puzzle are complete! They provide two gold stars: **