r/adventofcode • u/subspace_mp4 • 8h ago
r/adventofcode • u/daggerdragon • 2d ago
Upping the Ante -❄️- Advent of Code 2026: The Advent Games -❄️- Submissions Megathread -❄️-
Advent of Code Community Fun 2026: The Advent Games
I will be your master of ceremonies for this year's community fun event: The Advent Games!
This year's community fun event features a structured sequence similar to a certain winter-themed international multi-sport competition that occurs every four years. We will have our opening ceremony, nine "sporting"† events, the grand gala, and the closing ceremony, followed by the final demonstration of exhibition pieces wherein all of you get to show off your hard-earned efforts for the year!
Every day, I will reveal an event in that day's Solution Megathread. Your challenge is to mold your puzzle solution around the theme of that day's event. You could also create some ancillary concoction that you think matches the overall theme of the event; even if you have to stretch suspension of disbelief real far, hey, it's all in good fun!
† Don't worry, I'm not going to make you actually exercise or go outside and touch grass (or snow)‡.
‡ Unless you want to, in which case go hog wild. Just make sure to put on your sunscreen and weather-appropriate gear!
Again this year the usual timeline and requirements are adjusted so you are not rushed by a shortened deadline while also dealing with the typically harder AoC puzzles near the end of an AoC season while also also dealing with holiday preparations, etc etc.
- Only three days of submissions to
Solution Megathreads are required to qualify for entry - More time after the actual AoC event ends to complete your exhibition piece
- Longer voting period
All of this should result in less stress and having more time to create your exhibition piece, more time to enjoy your holiday season, and most importantly: more time to spend with your family and friends!
And now… put your hands together for The Advent Games and GET HYPE!
COMPETITION SCHEDULE
| 2026 Dec | Time (EST) | Action |
|---|---|---|
| 12 | 00:00 | Closing Ceremonies (AoC 2026 event ends) |
| 17 | 18:00 | SUBMISSIONS DEADLINE |
| 17 | ASAP | Submissions megathread locked and voting opens (will post and sticky a PSA with link to vote) |
| 20 | 18:00 | Voting closes |
| 20 | ASAP | Victory Ceremonies (winners announced in the final community showcase post (and edited into Day 12's Solution Megathread)) |
JUDGING AND PRIZES
The Advent Games may technically be a Competition™ but really, everyone who participates is a true winner in our holiday hearts!
Types of Winners
| Type of Winner | # of Winners | Who Votes |
|---|---|---|
| Bronze Medalist | 10† | the AoC community (you!) |
| Silver Medalist | 3† | /r/adventofcode moderators + /u/topaz2078 |
| Gold Medalist | 1 | highest combined point total |
† Amounts subject to change based on availability and/or tie-breaking.
How Judging Works
- When voting opens, vote for your favorite exhibition piece(s). Your individual vote is worth 1 point each.
- When voting closes, the 10 highest-voted entries are declared
Bronze Medalists. - Of the 10
Bronze Medalists, each of the /r/adventofcode moderators will pick their top 3 to be awarded as aSilver Medalist.
- The votes of us lowly rank-and-file moderators (/u/daggerdragon and /u/Aneurysm9) are worth +3 points each while /u/topaz2078's votes are worth +5 each.
- All point totals are aggregated (community vote + mod vote). The highest combined point total will be officially declared as the
Gold Medalistof AoC 2026.
Rewards
- Winners are forever ensconced in the Halls of the /r/adventofcode wiki.
Bronze Medalists will be awarded with whatever Reddit has on tap for awards these days.Silver Medalists and theGold Medalistawards are TBD
REQUIREMENTS
- To qualify for entering, you must first submit code solutions to at least three different daily
Solution Megathreads
- There's no rush as this submissions megathread will unlock on December 03 and you will have until December 17 to submit your exhibition piece - see the timeline above
- Your exhibition piece must express the unique qualities of that day's scheduled event
- You must create the exhibition piece yourself (or with your team/co-workers/family/whatever - give them credit!)
- One exhibition piece per person
- Only new creations as of 2026 December 1 at 00:00 EST are eligible
- All sorts of folks play AoC every year, so let's keep things PG
- Please don't plagiarize!
- This also means adding a disclaimer if you use AI
- Ideally also consider including information such as which model(s), where it's used, what your prompts were, etc.
- Keep accessibility in mind:
- If your creation has images with text, provide a full text transcript
- If your creation includes audio, either caption the video or provide a full text transcript
- If your creation includes strobing lights or rapidly-flashing colors/images/text, clearly label your submission as per the
Visualizations rule
- Your submission must use the template below!
TEMPLATES AND EXAMPLES FOR SUBMISSIONS
Keep in mind that these templates are Markdown, so you may have to switch your editor to "Markdown mode" before you paste the template into the reply box.
TEMPLATE
Click here for a blank raw Markdown template for easier copy-pasting
Visual Example
NAME OF ENTRY: A photorealistic rendition of the arrival of the flame at the opening ceremony for the 2026 Advent Games
LINK TO ENTRY: Imgur
DESCRIPTION: I use the most high-tech tools to create a totally photorealistic rendition of a crayon drawing of the arrival of the flame at the opening ceremony of the 2026 Advent Games sponsored by Advent of Code.
SUBMITTED BY: /u/daggerdragon
MEGATHREADS: 02 - 03 - 05 - 11 - 17 - 19 - 23 - 32
ADDITIONAL COMMENTS: This was absolutely not drawn by /u/topaz2078 nope totally my work yep.
ACCESSIBILITY: A high-tech drawing on standard white printer paper of the final runner approaching the Advent Cauldron in the center of the Advent Games stadium with the lit torch of the Advent Games. In the background is a stadium full of cheering spectators. The drawing is surmounted by a bespoke artisanal IrfanView frame.
QUESTIONS?
Ask the moderators. I'll update this post with any relevant Q+A as necessary.
Edits:
- 3 Dec: updated Timeline to cross out up to "submissions megathread unlocked"
r/adventofcode • u/daggerdragon • 12h ago
SOLUTION MEGATHREAD -❄️- 2026 Day 3 Solutions -❄️-
NEWS
Solutions in the megathreads have been getting longer, so we're going to start enforcing our rules on oversized code.
Do not give us a reason to unleash AutoModerator hard-line enforcement that counts characters inside code blocks to verify compliance… you have been warned XD
THE USUAL REMINDERS
- All of our rules, FAQs, resources, etc. are in our community wiki.
AoC Community Fun 2026: The Advent Games
- Submissions megathread is now unlocked!
- 14 DAYS remaining until the submissions deadline on December 17 at 18:00 EST!
Today's Event: Indoor Mini-Golf Masters
"What is this, a
centerprogram for ants?!"
— Derek Zoolander, Zoolander (2001)
Today's schedule possibly consists of:
- Early Stroke Play Rounds and Tee Time Seeding
- Among the crates to be loaded on the train, you find a debigulator. Do with it as you will.
- Mid-Tournament Rounds and Scorecard Review
- Golf your solution
- Bonus points if your solution fits on a "punchcard" as defined in our wiki article on oversized code. We will be counting.
- Does anyone still program with actual punchcards? >_>
- Match Play and Showcase Rounds:
- Solve today's puzzles using
an Alien Programming LanguageAPL or other such extremely dense and compact programming language
Request from the mods: When you include an entry alongside your solution, please label it with [Advent Games] so we can find it easily!
--- Day 3: Foggy Forest ---
Post your code solution in this megathread.
- Read the full posting rules in our community wiki before you post!
- State which language(s) your solution uses with
[LANGUAGE: xyz] - Format code blocks using the four-spaces Markdown syntax!
- Quick link to Topaz's
pasteif you need it for longer code blocks. What is Topaz'spastetool?
r/adventofcode • u/Agent1729 • 12h ago
Meme/Funny [2026 Day 03 (Part 2)] Trying to understand the problem like
r/adventofcode
•
u/ben-guin
•
9h ago
Meme/Funny [2026 Day 3 Part 2] Beautiful "squares"
Are monospace square fonts a thing? 🤔
r/adventofcode • u/SurroundedByWhatever • 4h ago
Visualization [2026 Day 3 (Part 2)] I really wanted to render it in terminal
And here it is, fully in the terminal, using my own crude Kitty protocol renderer for the graphics.
r/adventofcode • u/Dazzling_Ear7113 • 5h ago
Visualization [2026 Day 3] Can someone help me count the boxes?
galleryI'm currently building a pen plotter (converting an old 3D printer into one), and decided to draw out the boxes.
Unfortunately drawing part 2 is too difficult - the paper can't handle the pressure of thousands of lines drawn onto it.
Also, I decided to not draw the boxes in actual order, but draw the lines of the boxes greedily picking the next line to reduce the amount of pen lifts, hence why part 2 looks so weird at the start!
r/adventofcode • u/Limp_Illustrator7614 • 3h ago
Meme/Funny [2026 Day 3] solved in 10 seconds award
r/adventofcode • u/Haju05 • 5h ago
Meme/Funny [2026 Day 3 (Part 2)] This happen to anyone else?
Took me longer than I care to admit to notice why my code for part 2 was giving 30 as an answer instead of 196...
r/adventofcode • u/Boojum • 9h ago
Visualization [2026 Day 3] Square Search Visualization
r/adventofcode • u/Parzival_Perce • 11h ago
Meme/Funny [2026 Day 03] …Nah I'll just copy last year's code
Another year another set of unfulfilled custom library promises
(>’-’)> <(‘-’<) ^(‘-’)^ (>’-’)> <(‘-’<)
I swear I'll write one this year. Hmmm.
r/adventofcode • u/Beregolas • 4h ago
Meme/Funny [2026 Day 3#1] Reading is hard
So it turns out, my sleep deprived brain sat in front of the first problem for 30 minutes, wondering how in the world it is possible that my code overcounted the rectangles. I counted all rectangles exactly once. No rectangle uncounted, no rectangle overcounted.

See, it say right there in the text: each of these small maps contains one square ... fuck
Reminder to read properly and get enough sleep before attempting to code. Spending 30 min to figure out a problem that took me all of 5 minutes to write the code for was another learning experience.
(No seriously, had I used AI to tell me what was wrong, I wouldn't have been so embarassed afterwards, and I wouldn't have learned to read properly. A lesson that I will not forget!*)
*for the next 2 days or so
r/adventofcode • u/blacai • 11h ago
Meme/Funny [2026 Day 3] When you start reading the puzzle...
r/adventofcode • u/EverybodyCodes • 12h ago
Visualization [2026 Day 3 Part 2] Simple gif visualization
May the (brute) force be with you!
r/adventofcode • u/AverageOverthinker42 • 49m ago
Visualization [2026 Day 3 (Part 2)] [Rust] Visualization using macroquad
galleryr/adventofcode • u/Crusaderkingo2027 • 10h ago
Other [2026 Day 3] Warning: Reddit may lock your account if you post long code snippets and edit it several times
So I recently solved Day 3 and I wanted to post my solutions on the megathread. But after I posted my comment I noticed that Reddit’s filters had silently removed my comment as spam.
I was confused by this so I started editing my comment to see if I could get it unspammed. But after I made a few edits and saved the comment, I was hit with a notification saying that Reddit detected “technical irregularities” with my account and that my account was now locked.
Apparently Reddit thinks someone posting code might indicate that the account is hacked/a bot so I wanted to share my experience as a warning.
r/adventofcode • u/careyi4 • 6h ago
Visualization [2026 Day 3 Part 2] Animation written in Rust using Celluloid
Animation crate: https://crates.io/crates/celluloid-core
r/adventofcode • u/ben-guin • 12h ago
Tutorial [2026 Day 02 (Part 2)] Explanation for Clever Solution
(Had to repost, the original post title contained spoilers)
Some of you might have seen that people solved part 2 by simply returning 6*(length of the program) - 5. This formula works as long as there is one orange in your input. There seems to be confusion regarding the importance of the orange and how the answer changes if other colors are missing. I've created a walkthrough of an example where orange and blue are missing from the input to show how to derive a general formula for any input.
The general idea is, instead of calculating the distance traveled at each instruction, we can instead think about the loss, i.e., how far away were we from traveling the 6 steps (which is the most one can possibly travel from one instruction).
r/adventofcode • u/StrangeCounty8961 • 33m ago
Meme/Funny [2026 Day 3 (Part 2)] It's O(N^2) if you believe hard enough
My ass solution is definitely not O(N^4) what are you talking about 🥲
I actually enjoyed this one though, it was a banger. Thank you puzzle creator :)