Awesome
My solutions to the 2019 edition of Advent Of Code.
Previous participations
Problems & Solutions
- Day 1: solution
- Day 2: solution
- Day 3: solution
- Day 4: solution
- Day 5: solution
- Day 6: solution
- Day 7: solution
- Day 8: solution
- Day 9: solution
- Day 10: solution
- Day 11: solution
- Day 12: solution
- Day 13: solution
- Day 14: –
- Day 15: solution
- Day 16: –
- Day 17: –
- Day 18: –
- Day 19: –
- Day 20: –
- Day 21: –
- Day 22: –
- Day 23: –
- Day 24: –
- Day 25: –
Usage
This project runs on Scala 2.13.1
and sbt 1.3.3
.
Use the following template to write a solution:
package adventofcode.solutions
import adventofcode.Day
object Day01 extends Day(1) {
override def solutionA = ???
override def solutionB = ???
}
(change 1
to the current problem day and fill in the ???
)
Then, to run your code start by entering the sbt shell:
$ sbt
And type the following command:
> day 1
The output will be printed to the console and stored to the corresponding files in output/
.
Alternatively, since Day
extends App
, all singleton children can be run as regular applications.
License
This repository is licensed under the MIT License, please refer to the LICENSE
file.