Categorygithub.com/lbrooks/advent-of-code
repository
0.0.0-20240603200611-e17101b09b01
Repository: https://github.com/lbrooks/advent-of-code.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Advent of Code

  • All solutions expect the input to be passed through via stdin.
  • All solutions accept one flag to determine the question's part

Commands listed below assume this is the current working directory

To Run:

cat <year>/day-<day>/input.txt | bazel run //<year>/day-<day>:go -- <part>

The hashmarks are replaced with the day and question part respectivly.

Ex: cat 2021/day-01/input.txt | bazel run //2021/day-01:go -- 1 will run the solution to part 1 of the first day's question of 2021