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

advent2017

Advent of Code 2017

Instructions

Compiling the code

cd ./cmd/<dayxx>
go build

Days of Advent

Day 1 - Inverse Captcha

./day01 -part a
./day01 -part b

Day 2 - Corruption Checksum

Took me a while to realise the input file was full of tabs but the test data wasn't!

./day02 -part a
./day02 -part b

Day 3 - Spiral Memory

Wow the difficulty ramped up fast! Part B needs refactoring into something that I'm not embarrassed by...

./day03 -part a [-debug]
./day03 -part b [-debug]

Day 4 - High-Entropy Passphrases

./day04 -part a [-debug]
./day04 -part b [-debug]

Day 5 - A Maze of Twisty Trampolines, All Alike

./day05 -part a [-debug]
./day05 -part b [-debug] [-file <testinput|input>]

Day 6 - Memory Reallocation

Not proud of part b code but it works so it'll do!

./day06 -part a [-debug] [-file <testinput|input>]
./day06 -part b [-debug] [-file <testinput|input>]

Day 7 - Recursive Circus

Part a was all about building the program tower in the right way. Part b I strugged with.

./day07 -part a [-debug] [-file <testinput|input>]
./day07 -part b [-debug] [-file <testinput|input>]

Day 8 -

Day 9 -

Day 10 -

Day 11 -

Day 12 -

Day 13 -

Day 14 -

Day 15 -

Day 16 -

Day 17 -

Day 18 -

Day 19 -

Day 20 -

Day 21 -

Day 22 -

Day 23 -

Day 24 -

Day 25 -