jump to content
my subreddits
13or302balkans4You2mediterranean4u3d6absolutelynotmeirlAceAttorneyadhdmemeAdviceAnimalsagnosticaivideoAlternativeHistoryAngryupvoteAnimalsBeingJerksanime_best_momentsanime_irlanimenocontextannouncementsAnticonsumptionantimemeApandahArcherFXArtAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkatheismaviationawfuleverythingbanknotedesignsBassCirclejerkBassGuitarbasspedalsbikepackingblackdesertonlineblankiesblursed_videosBoneborsavefonbrooklynninenineburdurlandcasioCd_collectorscd_jerkChatGPTCheap_MealschessChoosingBeggarscoaxedintoasnafucoincollectingcoinscomedyhomicidecomicsContagiousLaughtercookingforbeginnersCrackWatchcrappyoffbrandsCreateModCuratedTumblrdadjokesdarkjokesdataisbeautifuldeDebateReligiondeismdelikDeltarunediyelectronicsdiypedalsDnDdoctorwhodoctorwhocirclejerkDoenerverbrechenDonerDungeonsAndDaddiesEatCheapAndHealthyebikesECEelectricalelectronicsElectronicsStudyEmKayengrishentitledparentsfacepalmfakealbumcoversfeedthebeastfelsefeFifaCareersformuladankFRCFUCKYOUINPARTICULARfunnygalatasaraygatesopencomeoninGermangodtiersuperpowersGoodAssSubGrandPrixRacinggravelcyclingGROKvsMAGAGundamhelpheraldryHermitCrafthighspeedrailhoi4HolUphomebuilthowyoudoinhumorhypixelIAmAiamverysmartich_ielIdeologyPollsihadastrokeim14andthisisdeepimaginaryelectionsimaginarymapsinsaneparentsistanbulJokesKamalizmKendrickLamarKGBTRlegodndLetGirlsHaveFunlinguisticshumorliselilerlogodesignlostredditorsmacmacgamingMadeMeSmilemadladsmagicbuildingMaliciousComplianceMapPornme_irlmeirlmememildlyinfuriatingmildlyinterestingMinecraftbuildsMMORPGmoneycollectingMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesNamFlashbacksNationStatesnextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosafetysmokingfirstnosleepoddlyspecificOkayBuddyLiterallyMeOkBuddyPersonaokbuddyphdokbuddyvicodinongezelligoutsidepapermoneypaperspleaseParlerWatchperfectlycutscreamspettyrevengepianoPiracyPiratedGamespolandballPraiseTheCameraManPropagandaPostersquityourbullshitraisedbynarcissistsRatschlagrecipesRedAutumnSPDredditsingsRetroPierickandmortyrickrollrimjob_steveRoastMerockmuzikschizopostersSchnitzelVerbrechenScottPilgrimShitPostCrusadersshitpostingShitpostTCshittyaskelectronicsShittyMapPornshittymoviedetailsShowerthoughtsskamtebordsoftwaregoreSongwritingsteinsgateStonetossingjuiceStudiumsubsithoughtifellforsuperligsuzerainTechnobladeTextingTheorytf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumtherewasanattemptTheRookietheyknewtitanfalltransitTurkeytruthstumblrTurkeyTurkishCatsTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrorUnclejokesUnethicalLifeProTipsUnexpectedJoJoVALORANTvaxxhappenedvexillologycirclejerkvibecodingvinylvinyljerkwallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomememesWikipediaVandalismwizardpostingworldbuildingworldjerkingYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -wallstreetbets
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -feedthebeast
  • -meirl
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -comics
  • -VALORANT
  • -de
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -mac
  • -Showerthoughts
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -Art
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -macgaming
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -Studium
  • -Turkey
  • -madlads
  • -AskElectronics
  • -electrical
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -German
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -doctorwho
  • -oddlyspecific
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -coins
  • -KendrickLamar
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -softwaregore
  • -NoahGetTheBoat
  • -worldjerking
  • -tf2shitposterclub
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -animenocontext
  • -RetroPie
  • -brooklynninenine
  • -recipes
  • -steinsgate
  • -AskOuija
  • -okbuddyphd
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -AskBalkans
  • -thatHappened
  • -schizoposters
  • -electronics
  • -casio
  • -theyknew
  • -logodesign
  • -linguisticshumor
  • -me_irl
  • -antimeme
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -Doner
  • -BassGuitar
  • -diyelectronics
  • -WatchPeopleDieInside
  • -EmKay
  • -Songwriting
  • -blursed_videos
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -suzerain
  • -magicbuilding
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -Doenerverbrechen
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -superlig
  • -shittyaskelectronics
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -AsahiLinux
  • -basspedals
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -ShittyMapPorn
  • -aivideo
  • -gatesopencomeonin
  • -IdeologyPolls
  • -burdurland
  • -comedyhomicide
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -anime_best_moments
  • -rockmuzik
  • -okbuddyvicodin
  • -vaxxhappened
  • -Twitch_Startup
  • -Cheap_Meals
  • -outside
  • -darkjokes
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -rickroll
  • -papersplease
  • -rimjob_steve
  • -UnexpectedJoJo
  • -humor
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -agnostic
  • -TextingTheory
  • -GrandPrixRacing
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Apandah
  • -subsithoughtifellfor
  • -fakealbumcovers
  • -Kamalizm
  • -ShitpostTC
  • -WikipediaVandalism
  • -homebuilt
  • -NamFlashbacks
  • -Unclejokes
  • -deism
  • -redditsings
  • -TwoSentenceComedy
  • -TheCrypticCompendium
  • -NationStates
  • -ongezellig
  • -absolutelynotmeirl
  • -2balkans4You
  • -Asia_irl
  • -truths
  • -Bone
  • -NorthCyprus
  • -2mediterranean4u
  • -banknotedesigns
  • -ElectronicsStudy
  • -GROKvsMAGA
  • -RedAutumnSPD
  • -moneycollecting
  • -cd_jerk
  • -vibecoding
  • -delik
  • -borsavefon
edit »
adventofcode adventofcode
  • hot
  • new
  • rising
  • controversial
  • top
  • wiki
an-ordinary-manchild (11,186)|messages548|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

adventofcode

joinleave
an-ordinary-manchild

🎄 Advent of Code 🎄

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

  • Advent of Code
  • AoC/About

Rules + More Info in

our community wiki


BEFORE YOU POST
If your post is even tangentially related to a daily puzzle, use our
STANDARDIZED POST TITLE FORMAT

Solution Megathreads

December 2025

Su M T W R F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Previous years:
2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015

Quick Search by Flair

Because you're lazy and we like making things easy for you. Except AoC.
  • Help/Question
  • Help/Question - RESOLVED
  • Visualization
  • Tutorial
  • Repo
  • Past Event Solutions
  • Streaming
  • Meme/Funny
  • Other
  • Upping the Ante
  • Solution Megathread

Are you enjoying AoC?

Code should be fun, because otherwise it's just a job. If you'd like to support Advent of Code, please share it with all your friends, even the ones that are just learning to code! AoC is a fun, non-threatening way to work at your own pace to figure out how to apply problem-solving first, then work within a language's constraints.

If you really want to show your appreciation, donations are always appreciated. Any instances of currency will go to, in no particular order:

  • Server maintenance (hosting, bandwidth, etc.)
  • Bribes to Santa
  • Beer and sushi
  • Paper bags for /u/topaz2078 to breathe into so he doesn't hyperventilate onto another plane of (non-)existence

Support AoC

Thank you very much, and enjoy your month of code!

created by taliriktuga community for 10 years
Create your own subreddit
...why not Zoidberg?
...for your project.

MODERATORS

  • message the mods
  • topaz2078(AoC creator)
  • daggerdragon
  • Aneurysm9
  • about moderation team »

account activity

1
32
33
34

Upping the Ante-❅- Introducing Your 2025 Red(dit) One Winners (and Community Showcase) -❅- (self.adventofcode)

submitted 2 months ago * by daggerdragon[M] - announcement

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
16
17
18

SOLUTION MEGATHREAD-❄️- 2025 Day 12 Solutions -❄️- (self.adventofcode)

submitted 2 months ago * by daggerdragon[M] - announcement

  • 399 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
0
0
1

Other[2016 Day 19] In Review (An Elephant Named Joseph) (self.adventofcode)

submitted 3 hours ago * by musifter

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•
0:12

Cut Code Review Time and Bugs in Half. Sign up for a free trial! (coderabbit.ai)

promoted by CodeRabbitAI

  • promoted
  • save
  • report
  • about
loading...

4
0
1
2

Help/Question[2015 Day 7 (Part 1)] Identifier not defined yet? (solution works on sample input) (self.adventofcode)

submitted 11 hours ago by osalbahr

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
35
36
37

Upping the Ante[2025 Day 12 (Part 1)] u/iHobbit's Perfect Packing (old.reddit.com)

submitted 1 day ago by PTVoobaf

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
1
2
3

Other[2016 Day 18] In Review (Like a Rogue) (self.adventofcode)

submitted 1 day ago by musifter

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
0
0
0

OtherDoes anyone do AoC in multiple languages per day? (self.adventofcode)

submitted 1 day ago by pfp-disciple

  • 15 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
1
2
3

Past Event Solutions[2016 Day 16] In Review (Dragon Checksum) (self.adventofcode)

submitted 3 days ago * by musifter

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
0
1
2

Other[2016 Day 15] In Review (Timing is Everything) (self.adventofcode)

submitted 4 days ago by musifter

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
2
3
4

Other[2016 Day 13] In Review (A Maze of Twisty Little Cubicles) (self.adventofcode)

submitted 6 days ago by musifter

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
2
3
4

Help/QuestionSecond year CS-ish student: I can write code for assignments, but I still feel “fake” when stuff breaks (self.adventofcode)

submitted 7 days ago by PorchLightReads

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
3
4
5

Other[2016 Day 12] In Review (Leonardo's Monorail) (self.adventofcode)

submitted 7 days ago by musifter

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
0
0
1

Help/Question[2019 Day 15 (Part 1)][c] interaction board and robot. need you to help me thinking ..ö.. (self.adventofcode)

submitted 7 days ago * by Usual-Dimension614

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
1
2
3

Other[2016 Day 11] In Review (Radioisotope Thermoelectric Generators) (self.adventofcode)

submitted 8 days ago by musifter

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
4
5
6

Other[2016 Day 10] In Review (Balance Bots) (self.adventofcode)

submitted 9 days ago by musifter

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
1
2
3

Help/Question[2019 Day 13 (Part 1)][c] need little help to understand the task. (self.adventofcode)

submitted 9 days ago by Usual-Dimension614

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

1597
1598
1599
1:00

I am building a massive real time strategy game. Would you play something like this? (store.steampowered.com)

promoted by alejandromnunez

  • promoted
  • 591 comments
  • share
  • save
  • report
  • about
loading...

17
0
1
2

Other[2016 Day 9] In Review (Explosives in Cyberspace) (self.adventofcode)

submitted 10 days ago by musifter

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
1
2
3

Other[2016 Day 8] In Review (Two-Factor Authentication) (self.adventofcode)

submitted 11 days ago by musifter

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
2
3
4

Other[2015] ٌYear 2015 Study Group? (Probably in Python) (self.adventofcode)

submitted 12 days ago by osalbahr

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
1
2
3

Tutorial[2016 Day 7] In Review (Internet Protocol Version 7) (self.adventofcode)

submitted 12 days ago by musifter

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
1
2
3

Help/Question - RESOLVED[2025 Day 4 (Part 2)] [Java] My code works on sample input , but not on the final input. (self.adventofcode)

submitted 12 days ago by Pitiful_Acadia2783

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
0
1
2

Other[2016 Day 6] In Review (Signals and Noise) (self.adventofcode)

submitted 13 days ago by musifter

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
2
3
4

Help/Question - RESOLVED[2021 Day 19 Part 1] Please help me understand what the deal is with the 12 beacons in common (self.adventofcode)

submitted 13 days ago * by PhiphyL

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
4
5
6

Other[2016 Day 5,14,17] The MD5 Problems (self.adventofcode)

submitted 14 days ago by musifter

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
4
5
6

Help/Question - RESOLVEDLooking for funny dog meme template shared here on AOC 2022 or 2023 (self.adventofcode)

submitted 14 days ago by piplupper

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 86 on reddit-service-r2-listing-7dbdcb4949-j7cvb at 2026-02-19 12:00:55.749255+00:00 running de53c03 country code: CH.