Skip to content

Advent of Code 2021 in Kotlin

Notifications You must be signed in to change notification settings

cemtuver/aoc21-kotlin

Repository files navigation

Prerequisites

Kotlin command-line compiler is required to build the solutions. It can be installed from here manually or using Homebrew.

$ brew update
$ brew install kotlin

Build & Run

Compile the source code using Kotlin command-line compiler and then run the output jar using Java.

$ cd day-XX
$ kotlinc part-X.kt -include-runtime -d part-X.jar
$ java -jar part-X.jar