Skip to content

gmeneze/advent-of-code-2021

Repository files navigation

advent-of-code-2021

Solutions to https://adventofcode.com/2021 in Scala 3

Compile and Run

Follow this guide to install the Scala 3 compiler and code runner:
https://www.scala-lang.org/download/scala3.html

The input file for the solution you want to run needs to be added to the ./inputs directory. Naming convention: day-<num>-input.txt.

Compile the InputReader library
scala3-compiler InputReader.scala -explain
Compile the solution you want to run
scala3-compiler Day5.scala -explain

Run the solution

scala3 Day5

Releases

No releases published

Packages

No packages published

Languages