Skip to content

codeforkjeff/adventofcode2018

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2018

See https://adventofcode.com/2018

These are my solutions, written in Scala, using IntelliJ. Updated Nov 2022 to use Scala 3.2.0.

Running it

You can open this folder in IntelliJ and run each part individually from the IDE (open the file, right-click in the editor, select "Run [name]")

You can also run the code from the command line. Install sbt. From the top directory of this repo, build the project by running:

sbt assembly

To generate and display the solutions (including elapsed time):

# all the solutions
java -jar target/scala-3.2.0/adventofcode2018-assembly-0.1.0-SNAPSHOT.jar

# just the solution for Day5Part1
java -jar target/scala-3.2.0/adventofcode2018-assembly-0.1.0-SNAPSHOT.jar Day5Part1

# multiple solutions
java -jar target/scala-3.2.0/adventofcode2018-assembly-0.1.0-SNAPSHOT.jar Day5Part1 Day5Part2

About

Advent of Code 2018 solutions in Scala

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages