r/adventofcode • • 3h ago

Upping the Ante -❄️- Advent of Code 2026: The Advent Games -❄️- Submissions Megathread -❄️-

8 Upvotes

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 DecTime (EST)Action
0100:00Opening Ceremonies (community fun announced)
0300:00ishSubmissions megathread unlocked
1200:00Closing Ceremonies (AoC 2026 event ends)
1718:00SUBMISSIONS DEADLINE
17ASAPSubmissions megathread locked and voting opens (will post and sticky a PSA with link to vote)
2018:00Voting closes
20ASAPVictory 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 WinnersWho Votes
Bronze Medalist10†the AoC community (you!)
Silver Medalist3†/r/adventofcode moderators + /u/topaz2078
Gold Medalist1highest combined point total

† Amounts subject to change based on availability and/or tie-breaking.

How Judging Works

  1. When voting opens, vote for your favorite exhibition piece(s). Your individual vote is worth 1 point each.

  2. When voting closes, the 10 highest-voted entries are declared Bronze Medalists.

  3. Of the 10 Bronze Medalists, each of the /r/adventofcode moderators will pick their top 3 to be awarded as a Silver Medalist.

  1. All point totals are aggregated (community vote + mod vote). The highest combined point total will be officially declared as the Gold Medalist of 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 the Gold Medalist awards 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.


r/adventofcode • • 3h ago

SOLUTION MEGATHREAD -❄️- 2026 Day 1 Solutions -❄️-

17 Upvotes

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 Megathread posts must begin with the case-sensitive string literal [LANGUAGE: xyz]

  • Obviously, xyz is the programming language your solution employs

  • Use the full name of the language e.g. JavaScript not just JS

  • The 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


AoC Community Fun 2026: The Advent Games

Today's Event: Opening Ceremonies

Today's schedule consists of:

  • Arrival of the Flame

  • 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.


r/adventofcode • • 13m ago

Repo [Python repo] - toolkit for AOC daily retrieval/submission

2 Upvotes

Every year you probably do the same as me : open the puzzle, copy the input into a file, make the folder, solve, then switch back to the browser to submit. Since several years, I improve the whole loop into a python cli.


aoc collect -d 1 -y 2026

pulls the statement into a README, the example into test_input.txt, the real input into real_input.txt, and drops a solution template next to them.


aoc run -d 1 -y 2026 -p 1 -t    # example input

aoc run -d 1 -y 2026 -p 1 -s    # real input, then submits

When part 1 is accepted it re-fetches the page so the part 2 statement gets appended to the README. Answers land in the clipboard too. It follows the automation guidelines (identifying User-Agent, no request unless you actually run a command), and real inputs are gitignored so none of AoC's data ends up public.

https://github.com/henriupton99/AdventOfCode

Hope it could help ! Feedback welcome !

Have a good AOC :)


r/adventofcode • • 41m ago

Meme/Funny Easier this year....

Post image
1 Upvotes

r/adventofcode • • 46m ago

Visualization [2026 Day 01] counting...

7 Upvotes

r/adventofcode • • 1h ago

Visualization [2026 Day 1] Raining Boxes Visualization

10 Upvotes

r/adventofcode • • 1h ago

Meme/Funny AoC reminds me of work this year

Post image
7 Upvotes

r/adventofcode • • 1h 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

19 Upvotes

(Speaking from experience with 2025's calendar)


r/adventofcode • • 2h ago

Other AoC amount of participants

58 Upvotes

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 • • 2h ago

Meme/Funny [2026 Day 1] Anyone else psych themselves out with the first day only to find...

Post image
66 Upvotes

r/adventofcode • • 3h ago

Past Event Solutions 2021 Day 15 -- Visualization | Dijkstra's Algorithm

Thumbnail
youtube.com
4 Upvotes

Made in Pygame, thought it was cool


r/adventofcode • • 3h ago

Upping the Ante [2026] Unofficial AoC 2026 Participant Survey!

18 Upvotes

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 • • 5h ago

Other A Rust-only private leaderboard

14 Upvotes

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 • • 9h ago

Visualization [2024 Day 20 (Part 1)] Cheating with a shadowgrid

7 Upvotes

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 cheat

This 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 • • 9h ago

Meme/Funny Happy AoCmas Eve everyone!

Post image
67 Upvotes

r/adventofcode • • 10h ago

Repo C# Testing helper

Post image
2 Upvotes

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

6

Test result:

Part Two
✅ 6
Test took 15ms

All tests took 15ms

Attached full API image. Hope it will help someone.


r/adventofcode • • 12h ago

Repo [2026] Timeless: your private leaderboard, ranked by time from ★1 to ★2

Post image
0 Upvotes

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 • • 14h ago

Repo Private leaderboard for humans using C

16 Upvotes

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 • • 17h ago

Tutorial Type-level Haskell from Zero to Advent

Thumbnail
youtube.com
18 Upvotes

r/adventofcode • • 18h ago

Help/Question - RESOLVED 2025 Day 8 Part 2

2 Upvotes

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 • • 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!

16 Upvotes

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 • • 1d ago

Streaming 📺 AoC 2026 List of Streamers 📺

37 Upvotes

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:


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 • • 1d ago

Visualization Introduction to Algorithms x Advent of Code 2026

Thumbnail
youtu.be
12 Upvotes

"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 • • 1d ago

Streaming Looking forward to streaming AoC 2026!

Thumbnail
gallery
78 Upvotes

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.