Home

Awesome

Solutions for Advent of Code 2024

See https://adventofocde.com/ for details about the game.

Local development

The scripts to solve the puzzles are written in JavaScript.

To run a single day script, e.g. for day 03:

cd src
./day-03.js

The output will look something like:

gamma 0,1,1,0,0,1,0,1,0,0,0,0
epsilon 1,0,0,1,1,0,1,0,1,1,1,1
solution #1: 1616 * 2479 = 4006064

-----------------------------------------------------------

oxygens 0,1,1,0,0,0,1,1,1,1,1,1
scrubbers 1,1,1,0,1,0,0,0,0,1,0,0
solution #2: 1599 * 3716 = 5941884