Advent of Code 2021 Day 6 (BaseA Style)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Labels:
- Advent of Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oooooh this was a doozy. At first I thought it was so easy but Part 2 just wouldn't work because I was trying to calculate as rows... I got to 170 days and 14 hours of running before giving up
then I tried with a single string and find&replace but ran up against the 2gb limit and eventually got to this
Macro:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Like everybody else, realized that the simple, brute force method was not going to work for part 2, so had to rewrite to group the days and handle mathematically. Took entirely too long as I struggled with the addition of the 0's to the 6's. Would really like the ability to create read-write variables. Anyhow, here's my solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, @caitlynmcintyre -
Wow - you are patient! 14 hours!! I gave up after about 15 minutes and pretty much arrived at the same result as you (and, presumably, everybody else).
Mark

- « Previous
- Next »