Solutions for the Advent of Code 2019 in Kotlin.
Sources are in src/
, input files are in res/
.
Main
is in AoC.kt
. Running it without parameters prompts for a day and input file. These can also be supplied as command-line arguments.
For the input, the corresponding files input{day}
or input{day}Test
located in res/
can be used. If no file is specified it will attempt to open the file for the specified day.