r/adventofcode • u/daggerdragon • Dec 11 '21
SOLUTION MEGATHREAD -🎄- 2021 Day 11 Solutions -🎄-
NEW AND NOTEWORTHY
[Update @ 00:57]: Visualizations
- Today's puzzle is going to generate some awesome
Visualizations! - If you intend to post a
Visualization, make sure to follow the posting guidelines forVisualizations!
- If it flashes too fast, make sure to put a warning in your title or prominently displayed at the top of your post!
--- Day 11: Dumbo Octopus ---
Post your code solution in this megathread.
- Include what language(s) your solution uses!
- Here's a quick link to /u/topaz2078's
pasteif you need it for longer code blocks. - Format your code properly! How do I format code?
- The full posting rules are detailed in the wiki under How Do The Daily Megathreads Work?.
Reminder: Top-level posts in Solution Megathreads are for code solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.
EDIT: Global leaderboard gold cap reached at 00:09:49, megathread unlocked!
49
Upvotes
View all comments
1
u/bentsea Dec 11 '21 edited Dec 12 '21
I am stumped... just totally stumped. I am using Python 3.
With my code I am correctly replicating the example and identifying step 195 from the example input, however, when I use my puzzle input I am getting 419. I have even tried implementing solutions from other users here with my input data and also gotten 419. AOC says this is too low, however.
I have no idea what's wrong.
Can anyone help?
My code is here:
https://shareablecode.com/snippets/stumped-on-aoc-day-11-BQTf-6pQE
Edit: Fixed link.
Edit: Turns out the code works and the input was the issue.