Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

GitHub go.mod Go version Go Report Card

advent2024

Advent of Code 2024

Instructions

Compiling the code

cd ./cmd/<dayxx>
go build

Days of Advent

Day 1 - Historian Hysteria

./day01 -part a -file input
./day01 -part b -file input

Day 2 - Red-Nosed Reports

./day02 -part a -file input
./day02 -part b -file input

Day 3 - Mull It Over

./day03 -part a -file input
./day03 -part b -file input

Day 4 - Ceres Search

./day04 -part a -file input
./day04 -part b -file input

Day 5 - Print Queue

./day05 -part a -file input
./day05 -part b -file input

Day 6 - Guard Gallivant

./day06 -part a -file input

Day 7 - Bridge Repair

./day07 -part a -file input
./day07 -part b -file input

Day 8 -

Day 9 - Disk Fragmenter

./day09 -part a -file input
./day09 -part b -file input

Day 10 - Hoof It

./day10 -part a -file input
./day10 -part b -file input

Day 11 -

Day 12 -

Day 13 -

Day 14 -

Day 15 -

Day 16 -

Day 17 - Chronospatial Computer

This one was nasty. My code won't work for other inputs - I manually worked out where the repetition happened using a spreadsheet (it was at the first 7 digits of the program) so I used that as the basis of my calculation. It gets the right answer in a few seconds, but isn't a good bit of code.

./day17 -part a -file input
./day17 -part b -file input

Day 18 -

Day 19 -

Day 20 -

Day 21 -

Day 22 -

Day 23 - LAN Party

./day23 -part a -file input

Day 24 - Crossed Wires

./day24 -part a -file input

Day 25 - Code Chronicle

./day25 -part a -file input