Skip to content

rkeytacked/adventofcode-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solutions for Advent of Code 2023

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

About

Advent of Code 2023 solutions in plain Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published