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')
Uiua
A nice gentle start... [edit: slightly tweaked to save 6 operations]
How do you actually write this? Do have all symbols mapped to your keyboard somehow or do you have a list with symbols and copy them one symbol at a time?
There's a very good online editor at the Uiua website, and an excellent extension for Visual Studio.
They both allow you to type mnemonics for the symbols and common idioms, so that first line would be typed as
parse partition box by ne @\norpars pbbn @\nif you're really in a hurry.This is the compiled form, you write some human-readable strings and they are automatically transformed for brevity. You can try it on https://www.uiua.org/pad