30
🧸 - 2026 DAY 1 SOLUTIONS - 🧸
(programming.dev)
An unofficial home for the advent of code community on programming.dev! Other challenges are also welcome!
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.
Everybody Codes is another collection of programming puzzles with seasonal events.
Solution Threads
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 |
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
console.log('Hello World')
Rust
Probably non-optimal, but still 1ms, so good enough for me.
Kinda bizarrely easy second task, only had to change one character.
For shits and giggles I tried it on my local LLM agent, it took a small amount of prompting, but solved it in about 5 mins.
The best part is this:
It so confidently multiplied 3 numbers together and got the answer wrong... first set was correct somehow, second was completely hallucinated.