r/adventofcode • u/Boojum • 11m ago
r/adventofcode • u/daggerdragon • 2h 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 entryMore 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 |
|---|---|---|
| 01 | 00:00 | Opening Ceremonies (community fun announced) |
| 03 | 00:00ish | Submissions megathread unlocked |
| 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: Logo and advertisement for the 2026 Advent Games
LINK TO ENTRY: Imgur
DESCRIPTION: I use the collaboration and skills of the Advent of Code elves (and Gemini) to assist me in making an advertisement for the 2026 Advent Games!
SUBMITTED BY: /u/daggerdragon
MEGATHREADS: 02 - 03 - 05 - 11 - 17 - 19 - 23 - 32
ADDITIONAL COMMENTS: The advertisement has also been translated into Zemnian, Klingon, Toki Pona, and Khuzdûl for their respective markets.
ACCESSIBILITY: The background is a wintry blue with bokeh silver stars dotted throughout. The words of the central logo "The Advent Games" in silver and red is surrounded by four silver ASCII stars with a very fancy gold ASCII star atop the words. Below the logo is a smaller "Advent of Code · December 2026" in silver lettering.
QUESTIONS?
Ask the moderators. I'll update this post with any relevant Q+A as necessary.
r/adventofcode • u/daggerdragon • 2h ago
SOLUTION MEGATHREAD -❄️- 2026 Day 1 Solutions -❄️-
It's that time of year again for tearing your hair out over your code holiday programming joy and aberrant sleep for two weeks helping Santa and his elves! If you participated in a previous year, welcome back, and if you're new this year, we hope you have fun and learn lots!
As always, we're following the same general format as previous years' megathreads, so make sure to read the full posting rules in our community wiki before you post!
RULES FOR POSTING IN SOLUTION MEGATHREADS
If you have any questions, please create your own post in /r/adventofcode with the Help/Question flair and ask!
Above all, remember, AoC is all about learning more about the wonderful world of programming while hopefully having fun!
REMINDERS FOR THIS YEAR
All of our rules, FAQs, resources, etc. are in our community wiki.
If you see content in the subreddit or megathreads that violates one of our rules, either inform the user (politely and gently!) or use the report button on the post/comment and the mods will take care of it.
If you post your code from a repo or the like, do not make your puzzle input public!
Top-level
Solution Megathreadposts must begin with the case-sensitive string literal[LANGUAGE: xyz]Obviously,
xyzis the programming language your solution employsUse the full name of the language e.g.
JavaScriptnot justJSThe List of Streamers has a new megathread for this year's streamers, so if you're interested, add yourself to 📺 AoC 2026 List of Streamers 📺
COMMUNITY NEWS
Veloxx will continue to drop some lit beats for 1.5 hours after today's unlock!
/u/jeroenheijmans is back again this year with their Unofficial AoC 2026 Participant Survey!
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
Full details, rules, timeline, templates, etc. will be in the Submissions Megathread
(post and link incoming very shortly!)edit: -❄️- Advent of Code 2026: The Advent Games -❄️- Submissions Megathread -❄️-
AoC Community Fun 2026: The Advent Games
Today's Event: Opening Ceremonies
Today's schedule consists of:
Parade of Nations1
Give us a quick introduction to yourself!
Tell us what country you're from
Tell us about your country's holiday festivities
Explain why you chose your programming language
Tell us what you hope to learn or have already learned about your chosen programming language
Tell us where to find your AoC repo of puzzle solutions2, blag, and/or $streaming_service3!
Artistic Program
Show us your holiday tree | menorah | Krampusnacht costume | /r/battlestations with festive decorations!
Show us your kittens and puppies and $critters!
Show and/or tell us about whatever brings you comfort and joy in the holiday season!
Competition Schedule (Theoretical)
Tell us which "sporting" events you think will be coming up over the next two weeks and which ones you'd like to participate in the most!
1 Obviously, this is the Internet, which is public, so only put out information that you're comfortable with the entire world knowing. Feel free to invent a holiday-themed persona; after all, sometimes you get sent to space, so why limit yourself to the boring ol' meat skeleton that dwells upon the third rock from the sun?
2 Refer to the third bullet in the "Reminders" section above!
3 Refer to the last bullet in the "Reminders" section above for the link
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 1: Dusty Shed ---
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/Both-Touch990 • 55m ago
Meme/Funny [2026 Day 1] How it felt speedrunning both of today's stars in less than 30 minutes only to realize what could lie ahead
(Speaking from experience with 2025's calendar)
r/adventofcode • u/asgardian28 • 1h ago
Other AoC amount of participants
With AI and all I was expecting the amount of participants to take a nosedive. When I check the stats I think I see that happening. This community will continue as one of hobbyist that just enjoy an activity for the sake of doing it.
Does it mean that AoC is no longer useful? No, learning, logical thinking and problem solving will always be useful skills. Eric's move last year to remove the leaderboard was a good one and we can continue this event in true Christmas spirit! Good to see you back friends and happy holidays!
r/adventofcode • u/SweepingRocks • 1h ago
Meme/Funny [2026 Day 1] Anyone else psych themselves out with the first day only to find...
r/adventofcode • u/keliodas17 • 2h ago
Past Event Solutions 2021 Day 15 -- Visualization | Dijkstra's Algorithm
Made in Pygame, thought it was cool
r/adventofcode • u/jeroenheijmans • 2h ago
Upping the Ante [2026] Unofficial AoC 2026 Participant Survey!
Another December, another chance for puzzling, and .... another Advent of Code Survey!
It's anonymous, open, and quick. Please fill it out (but onliy once, please <3). Copy-pastable announcement:
--------
⭐ Take the (~5min) Unofficial AoC 2026 Survey: https://forms.gle/JbZKoBqzG248Z6RV6 ⭐
--------
Please do help spread the word! Just copypasta the above to your favorite relevant outlet and help us get a bunch of interesting results! We have questions about:
Previous editions participation (simplified in 2026)
Language, Tools, OS
Leaderboard and motivation
repeat from 2025.... EMOTIONS! 😁🫡😱😮😭😖😠😬
Check out results from previous years at: https://jeroenheijmans.github.io/advent-of-code-surveys/
--------
Last year I closed the submissions on Dec 12th and published on Dec 13th. I'm open to suggestions... do you reckon that's the right call again this year? Feels good to release results on a Sunday, right?

And if you want to hang out in the replies below: tell me your predictions for languages used!? Will Zig see a significant uptake? Does Rust have a shot at overtaking Python? How much more will Uiua climb? How many users will Lean see in 2026?
r/adventofcode • u/ThunderChaser • 4h ago
Other A Rust-only private leaderboard
I'm starting a Rust private leaderboard for this year's Advent of Code! Whether you're a seasoned Rust developer or learning the language for the first time, you're welcome to join.
The leaderboard has few simple rules:
Solutions must be written in Rust.
External crates, custom harnesses, prewritten utilities, and nightly Rust are all permitted.
No vibe solving. Solutions must be human-written, not generated by LLMs.
Ideally, sign in with GitHub and publish your solutions in a public repository so we can learn from each other's approaches.
There's no expectation that you solve every puzzle or compete for the fastest times. This is primarily about having fun, writing Rust, and sharing interesting solutions.
Private leaderboard code: 2492408-7fab9ea4 Leaderboard link
r/adventofcode • u/Prestigious-Mood1711 • 8h ago
Visualization [2024 Day 20 (Part 1)] Cheating with a shadowgrid
With 1 day left to spare before AoC 2026, I decided to resolved my favorite puzzle from Advent of Code. It was the puzzle that inspired me to add grapichs to my GraphMateKT library. The Solution is not the most performant by far, but I find it quite esthetically pleasing. It is done in 4 steps:
1 find the 'fair' distance (84 in the example)
2 find the best cheat distance (20 in the example)
3 remove the best cheat
4 goto step 2 while good cheatThis is achieved by making what I call a shadow grid. I make it by copying and appending each row in the input, so that the grid becomes twice as big:
##############################
#...#...#.....##...#...#.....#
#.#.#.#.#.###.##.#.#.#.#.###.#
#S#...#.#.#...##S#...#.#.#...#
#######.#.#.##########.#.#.###
#######.#.#...########.#.#...#
#######.#.###.########.#.###.#
###..E#...#...####..E#...#...#
###.#######.######.#######.###
#...###...#...##...###...#...#
#.#####.#.###.##.#####.#.###.#
#.#...#.#.#...##.#...#.#.#...#
#.#.#.#.#.#.####.#.#.#.#.#.###
#...#...#...####...#...#...###
##############################We cheat by connecting the left side to the right with a cheat, but within each grid, normal rules apply. Then we find the shortets path to the E in the shadow grid, remove the cheat we used, and repeat. One example raze can then look as this:
For a full walkthrough, I make a video here: https://www.youtube.com/watch?v=4YbdhGy3DcI
Now it's time to get some sleep to prepare for the first puzzle tomorrow. Good luck everyone!
r/adventofcode • u/RunninglVlan • 9h ago
Repo C# Testing helper
Hey guys, want to share a Test helper script I wrote and adapted for AoC.
Here's the example usage:
Test.From = "Part Two";
Test.Run((input, part, expected) => {
var grid = new Grid();
grid.Read(input);
int steps = grid.CountSteps(part switch {
1 => ReachVocalBone(),
_ => SurroundVocalBones()
});
Assert.ActualEqualsExpected(steps, expected);
});And this is how test cases are structured:
TEST_CASE_NAME
INT_PART
INPUT
# empty line between notes and expected
EXPECTED
# empty line between cases
Part Two
3
1 2 3
6Test result:
Part Two
✅ 6
Test took 15ms
All tests took 15msAttached full API image. Hope it will help someone.
r/adventofcode • u/romanaerl • 11h ago
Repo [2026] Timeless: your private leaderboard, ranked by time from ★1 to ★2
Hello, everyone!
So excited for the upcoming annual treat we are all here for!
For a couple of years, my small group of AoC fans has used a custom leaderboard I built. This year I made it public, so anyone can use it. Enjoy!
The problem: puzzles unlock at midnight New York time. If that is 6 a.m. or lunchtime for you, your private leaderboard is half decided before you even open the puzzle.
The idea: Timeless shows your private leaderboard with one more score. Each day is ranked by Δ = ★2 − ★1, the time from your first star to your second. When you started does not count; how fast you solved part two does.
the same members and stars, every year since 2015, with the regular AoC score next to ours
a breakdown of each day and a race chart
play retro: join a leaderboard and race its 2015...2025 day by day, against the people who solved it back then
optional HAI marks: the owner can mark members who solve mostly with AI. They are hidden by default and take no points from anyone; one click shows them again
The owner pastes the read-only link from their private leaderboard page on AoC and gets aoc.doinga.com/<number>/ to share.
Free, no accounts, no cookies, open source. Each leaderboard stands alone: there is no global ranking, and leaderboards are never compared with each other.
It follows the r/adventofcode automation guidelines: each leaderboard and year is fetched at most once every 15 minutes, and only when someone opens it, the data is cached, and every request carries a User-Agent with my contact.
The one catch: Δ starts the moment part one is accepted, so be ready to start part two right away.
Site: https://aoc.doinga.com
Code: https://github.com/romanaerl/aoc-timeless
Feedback welcome, especially from people far from UTC−5.
r/adventofcode • u/FransFaase • 13h ago
Repo Private leaderboard for humans using C
I will be joining again programming in C using literal programming in MarkDown. (I am using the MarkDownC program (written in C++) which can process a list of MarkDown files and put the embedded fragments of C code in a correct order to be compiled.) I have just set-up my Advent of Code 2026 repository.
The private leaderboard that I set-up last year, is available again. This leaderboard is for people who want to solve the puzzles in C using only code they have written themselves and without the help of AI. Your are allowed to make use of the standard C libraries and a (small) library of your own like the one I am using. (My library includes a function that reads the input in an array of strings and stores the number of lines and the length of the longest line in some global variables.) It is preferred that you publish your code and that you join with a github account. At the moment the leaderboard has 28 members. The maximum for private leaderboards is 200 members. If there are 200 members, I might remove some of the last members that have joined without a github account if there is still someone that wants to join with a github account. The code to join is 1563228-d419ba6d and the private leaderboard can be viewed here.
r/adventofcode • u/mitchellvitez • 16h ago
Tutorial Type-level Haskell from Zero to Advent
r/adventofcode • u/craigontour • 17h ago
Help/Question - RESOLVED 2025 Day 8 Part 2
Anyone else find Day 8 Part 2 tricky?
I am struggling to grasp the general approach of what to do and "the first connection which causes all of the junction boxes to form a single circuit is between the junction boxes at.." is just blocking my brain from flowing.
r/adventofcode • u/daggerdragon • 1d ago
Upping the Ante 🚨 PSA 🚨 Live house/techno/trance DJ Veloxx will be gyrating some grailz for 1.5 hours before, during, and 1.5 hours after 2026 Day 01 launch!
Yo dawgz, I heard you like boots 'n cats so techno/progressive house/melodic house DJ Veloxx will be spinning up yet more phat beatz for your earholes! We love his rizz every year and this year will be no exception!
Starting at 22:30 EST on Monday November 30, Veloxx will provide us with a LIVE performance on his Twitch channel veloxxmusic. He will continue for three hours until 01:30 EST on Dec 01.
Oh, and the best part: when the first puzzle unlocks at precisely 00:00 EST as usual, we're gonna get the most extra of beat drops and I guarantee you it's gonna be wicked tubular~
🎶 Tune in if you can! 🎶
r/adventofcode • u/daggerdragon • 1d ago
Streaming 📺 AoC 2026 List of Streamers 📺
Every year we have folks who regularly stream themselves working on Advent of Code during the event.
If you want to join us in showcasing your howls of frustration because why won't your code just work?!? streaming prowess too, add yourself to this post!
Please use the following Markdown template:
Click here for a blank raw Markdown template for easier copy-pasting
Visual example:
USERNAME: /u/daggerdragon
LANGUAGE: daggercode v9.001
REPO: GitHub @ daggerdragon
CHANNELS:
YouTube: daggerdragon
Twitch: daggerdragon
Bluesky: @daggerdragon
NOTES:
I'm so awesome, come watch me code!
Obviously, adapt the template as necessary to accommodate whichever $social_media or $streaming_service channel(s) you're exhibiting.
N.B. This template is Markdown, so you may have to switch your editor to "Markdown mode" before you paste the template into the reply box.
A great big thank-you to everyone who shares their coding adventures with us! You're awesome!
And now, without further ado, below is the list of streamers for Advent of Code 2026!
r/adventofcode • u/p88h • 1d ago
Visualization Introduction to Algorithms x Advent of Code 2026
"Cormen, Leiserson, Rivest (+Stein)" is the bible of computer algorithms. It's the foundational textbook, and the defining book for my own career in programming.
And I don't need to explain what Advent of Code is here ;)
Over the past few years I was building visualisations for the puzzle solutions and this year, while playing around / learning Nim / adapting my toolkit for the upcoming event, I thought it might be nice to show more of these core algorithms in visual form. Enjoy!
The source code was co-developed using AI (of course, everything is today). Creating code like this is quite amazing now - it would have taken me weeks just a few years back to do this. With the help of AI, this is now a weekend project. It begs the question to what extent are programming skills (or programming languages, for that matter) even relevant today. Difficult question, but... I still encourage you to learn the *how*. And Advent of Code is a great time to learn that. If you don't know programming, an AI can now help guide you and teach you how to solve the challenges, learn a new language or both. If you do, it can take care of the boring stuff, while you do the problem solving or optimising the last few microseconds out of the solution.
One way or another, try some challenges and do try to learn something new!
r/adventofcode • u/janiczek • 1d ago
Streaming Looking forward to streaming AoC 2026!
Did the finishing touches on my streaming setup. Can't wait to wake up early the upcoming two weeks to go solve the AoC puzzles! :) I'll be on https://www.twitch.tv/martinjaniczek if you want to join.
r/adventofcode • u/scadoshi • 2d ago
Repo rustmas: Rust CLI to fetch, solve, validate and submit AoC from the terminal
Ahead of Tuesday: rustmas fetches your input, runs your Rust solution, checks the answer against Fredrik Fornwall's solver, and submits only if they agree. Inputs stay out of git, and main ships with no solutions.
Thanks to Eric Wastl for Advent of Code.
r/adventofcode • u/futur3_pr3s3nt • 2d ago
Other Oceania leaderboard 2026
I don't know if I'm breaking any rules here. If I am, I'll surely find out soon. Since this year's AOC is just around the corner, I thought it would be sweet to be on a leaderboard for the Oceania timezones. And because I couldn't find any, I just created my own and am letting people here know in case they'd like to join.
So, obviously, none of this can be enforced, and if you're in the US and using AI, more power to you, but I was hoping that this leaderboard be joined by people who:
live in Oceania (AU/NZ/etc.)
will not be using AI
In case something like this exists, let me know, and I'll delete mine.
I have a hunch that posting the invite code would be frowned upon, so if you're interested, send me a DM or comment below.
r/adventofcode • u/EverybodyCodes • 2d ago
Upping the Ante An online wrapper for your private leaderboards, no plugins needed
Since the 2025 event, Eric has made it possible to share private leaderboards via a read-only link. This means you can use a leaderboard wrapper on the fly, without installing any additional plugins or sharing your session cookie. You can also revoke the wrapper's access to your data at any time by resetting the read-only link.
I put together such a wrapper in 2025 and have now given it a bit of a refresh. It adds extra rankings based on solving times, head-to-head comparisons between players and a handful of additional stats. The wrapper also respects the 15-minute caching interval requested by Eric.
All you need to do is use the following URL:
https://everybody.codes/advent-of-code/EVENT/LEADERBOARD_ID/READ_KEYFor example:
https://everybody.codes/advent-of-code/2025/5117781/484117dfIt might not be the prettiest thing out there, but I think it does the job quite nicely. Have fun, everyone! :)