.. | ||
go | ||
python | ||
info.json | ||
input.txt | ||
README.md | ||
README.md.off |
How to use this template
- Create a new copy of the
template
directory, and name it as you please. Enter into that directory. - Download your challenge input, and save it as
input.txt
. - Edit
info.json
to include the challenge title, year and day number as well as any test cases you would like to include. - Write your code.
- If you're using the Go template, ensure you change the import path in
main.go
to"adventOfCode/<yourDirectory>/go/challenge"
.
- If you're using the Go template, ensure you change the import path in
- Run your code.
- Python:
python ./python
. You may also need to runpip install -r ../requirements.txt
. - Go:
go run ./go
- Python:
- (optional) Delete the copy of this README, rename the other README and edit it.