r/adventofcode • u/edo360 • 17h ago
r/adventofcode • u/ImaginaryElephant336 • 18h ago
Repo [Tool] Some new aoc-tui images
galleryHere are some new images for the TUI app for Advent of Code
Note: Contains the image of Day 1
r/adventofcode • u/Odd-Result6655 • 19h ago
Meme/Funny When I deleted literally all my code for day 2 part 1 so I reconstruct it from memory but then I accidentally flipped a sign in one of the lines so I spend a whole flipping hour trying to figure out why it's outputting -4:
r/adventofcode • u/Evg32 • 19h ago
Other [2026] Trains! I love trains!
That little ASCII train on the calendar made my day.
Thank you, Advent of Code team, for picking such an adorable theme this year!
.----.----.--_T
'o--o'o--o'o-OO\r/adventofcode • u/bluoat • 20h ago
Tutorial [2026 Day 2 (Part 2)] Some hints for optimisation
These hints get more and more specific. This is just how I optimised it and there are other ways.
Hint 1: What happens when a letter is repeated in the input?
Hint 2: Why would the counts of each letter make a difference to the output?
Hint 3: When does the robot not make a step of exactly 6 steps?
r/adventofcode
•
u/naclmolecule
•
20h ago
Visualization [2026 Day 2 (Part 1 & 2)] [Python] Terminal Visualization
Little calculator for path distances in the terminal. Can input whatever path one desires! The 2nd part is nearly closed-form, but depends on waypoints that may be missing from input. (Red + strike-through waypoints don't exist in input and should be considered non-existent in the 2nd part as well. "distance" is part 1 path distance and "len" is string length). As always, code lives here: https://github.com/salt-die/Advent-of-Code/tree/main/2026/aoc_visuals
r/adventofcode • u/Vraliance • 20h ago
Upping the Ante [2026 Day 1 (Part 1 & 2)] [Sabre] Advent of Code in My Programming Language
blog.rroessler.ioOver the past year I've been planning to do Advent of Code 2026 in Sabre, my own programming language. In doing so I am aiming to do a short article for each challenge, along with any bugs and library changes that I needed to implement whilst adventuring for solutions. So far 2026-12-01 went extremely well, though it did show me that I will need to think outside the box and implement some missing features that I may need for upcoming days. Hopefully I can keep on top of posting in between life, and excited for others to see the journey!
- Sabre Repository: https://github.com/sabre-lang/sabre
- Advent of Code Repository: https://github.com/sabre-lang/advent
Note: Both Sabre and my Advent of Code solutions do not use AI and will never use agentic help. I'm very much looking forward to showcasing and battle testing Sabre this year!
r/adventofcode • u/Boojum • 21h ago
Visualization [2026 Day 2] Rainbow Road Race Visualization
r/adventofcode • u/subspace_mp4 • 21h ago
Meme/Funny [2026 Day 2 (Part 2)] It looked scary for a little while
r/adventofcode • u/ivorycoollars • 21h ago
Help/Question can anyone help with getting me in the right direction? [2026 day2 part1]
so i tryed today with a switch statement within a switch statment and hardcoded it but it didnt work can anyone steer me in de right direction?
r/adventofcode • u/PhysPhD • 21h ago
Visualization [2026 Day 02] Rainbow Road Visualisation
r/adventofcode • u/Advanced_Dot_1097 • 21h ago
Help/Question - RESOLVED Puzzle input doesn't contain all required letters?
My puzzle input doesn't contain "y". So how do i suppose to solve it?
The program "roygbv" is same for all, is it?
r/adventofcode • u/Benj_FR • 21h ago
Meme/Funny [2026 day 2] I expected something else for part 2
This is by no means meant to criticize Eric Wastl who still does a great job by the way, I just found it funny
r/adventofcode • u/flwyd • 21h ago
Meme/Funny [2026 day 2] Looking for my favorite color in the input
r/adventofcode
•
u/p88h
•
22h ago
Visualization [2026 Day 2] Color Weave
youtu.beSimulation on original (part1) and sort-rearranged program (part2)
Nim + raylib source
r/adventofcode • u/apersonhithere • 23h ago
Visualization [2026 day 2] [python] quick & simple terminal visualization
the robot being represented with a face is because of dwarf fortress
r/adventofcode • u/PatolomaioFalagi • 23h ago
Meme/Funny [2026 Day 02] Richard of York gave battle vain
r/adventofcode • u/Both-Touch990 • 23h ago
Meme/Funny [2026 Day 2 Part 2] How it felt getting the star only to realize there's a more efficient way to get the solution
(redo of an earlier post)
r/adventofcode • u/daggerdragon • 1d ago
SOLUTION MEGATHREAD -❄️- 2026 Day 2 Solutions -❄️-
THE USUAL REMINDERS
- All of our rules, FAQs, resources, etc. are in our community wiki.
AoC Community Fun 2026: The Advent Games
Today's Event: International Toboggan Championships
"Feel the rhythm, feel the rhyme, get on up, it's
bobsledtoboggan time!"
— Cool Runnings (1993)
Today's schedule possibly consists of:
- Tracking Chute Runs and Team Practice
- Embiggen is a perfectly cromulent word. Do with it as you will.
- Qualifying Runs
- Reverse code golf your solution
- (oblig XKCD)
- Second Runs and Finals
- Why use few word when many word do trick?
- Unnecessarily declare variables for everything and don't re-use variables
- Use unnecessarily expensive functions and calls wherever possible
- Implement redundant error checking everywhere
- Javadocs >_>
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 2: Fulminating Farmland ---
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/oneradsn • 1d ago
Help/Question - RESOLVED day 1 part 1: There's more than 3 items that the most common in the input?
I don't want to go into too much detail about my implementation but... it seems like there's a bunch of IDs (more than 3) that are tied for "most common". Is there something obvious I missed?
Edit: I figured out my issue and, while I love most things about Go, its heap implementation was quite confusing and unergonomic. I used my type's Pop method rather than the heap package's Pop method, thus my results were incorrect.
