My solutions to the Advent of Code challenges.
Dan Anglin
76583b3dda
All checks were successful
/ test (pull_request) Successful in 25s
It's time to add common functions to the internal 'common' package. - Add the function that read the contents from a file to a list. - Add the function that parses a list of integers from a string. ...and more to come later... |
||
---|---|---|
.forgejo/workflows | ||
.github/workflows | ||
2023 | ||
internal/common | ||
go.mod | ||
LICENSE | ||
README.asciidoc | ||
solve |
Advent of Code
My solutions to the Advent of Code challenges in Go.
Mirrors
-
Code Flow (Forgejo): https://codeflow.dananglin.me.uk/apollo/advent-of-code
How to run the solutions
-
Download and install Go if you don’t have it installed already.
-
The provided bash script can be used to run the solution to an AoC challenge.
$ ./solve --help USAGE: ./solve [options] SUMMARY: Run the solution for the specified Advent of Code challenge OPTIONS: -h, --help: print this help message -y, --year: specify the year -d, --day: specify the day of the advent calendar
-
Run the script specifying the year and the day of the advent calendar to view the result of that day’s challenge.
./solve --year 2023 --day 1