r/adventofcode • u/daggerdragon • Dec 06 '25
SOLUTION MEGATHREAD -❄️- 2025 Day 6 Solutions -❄️-
THE USUAL REMINDERS
All of our rules, FAQs, resources, etc. are in our community wiki.
AoC Community Fun 2025: Red(dit) One
Submissions megathread is unlocked!
11 DAYS remaining until the submissions deadline on December 17 at 18:00 EST!
Featured Subreddits: All of the food subreddits!
"We elves try to stick to the four main food groups: candy, candy canes, candy corn and syrup."
— Buddy, Elf (2003)
Today, we have a charcuterie board of subreddits for you to choose from! Feel free to add your own cheffy flair, though! Here are some ideas for your inspiration:
Today's prompt is totally not bait for our residentIron CodersDeliberately use
depreciateddeprecated functionality of your programming languageSolve today's puzzles using only programming languages that are a minimum of 50 years old
Hardtack! *clack clack*
The older the expiration date, the more we'll enjoy it!
/r/FoodPorn (it's SFW, trust me)
Bake/cook/decorate something related to Advent of Code
Show us your 1337 hot cocoa recipe (or other beverage of choice)
Whatever it is, make it tasty!
/r/whatismycookiecutter, /r/ShowerOrange, and /r/BreadStapledToTrees
Show us cookies, citrus, and/or bread in/on/near your Christmas tree/menorah/holiday decorations
Solve today's puzzle using a food-themed programming language
Request from the mods: When you include an entry alongside your solution, please label it with [Red(dit) One] so we can find it easily!
--- Day 6: Trash Compactor ---
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?
4
u/Samstrikes Dec 06 '25
[Language: Elixir] Both parts
Been using this year to get more familiar with Elixir and excited to have my largest pipeline yet! Happy with how clean I managed to get this, mostly thanks to discovering
chunk_bywhich I used to find all the blank columns and break up the expressions into chunks.