Categorygithub.com/funkymcb/AdventOfCode
repositorypackage
0.0.0-20241203165040-0f555e8b91f2
Repository: https://github.com/funkymcb/adventofcode.git
Documentation: pkg.go.dev

# README

AdventOfCode

My solutions to the Advent of Code 2024

  • Day 1
    • calculate distances between location IDs
    • calculate similarity score of location IDs
  • Day 2
    • find safe reactor reports
    • dampen reactor reports
  • Day 3
    • handle corrupted memory
  • Day 4
  • Day 5
  • Day 6
  • Day 7
  • 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

usage

make sure to export the session cookie:

export AOC_SESSION=<session cookie>

and run by using the day flag:

go run main.go -day x