Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

readme.md

AoC 2023 with Java

Solved Days

Table
Day 1 2
01 x x
02 x x
03 x x
04 x x
05
06 x x
07 x x
08 x x
09 x x
10 x x
11 x x
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Build

Requirements

Tech Version
Maven 3.6.3
JDK 20.0.2

Note

You might be able to get away with changing the build files as you prefer, these are just what I'm using.

Compile and Run

after cd to adventOfJava folder:

mvn install
mvn exec:java  -Dexec.mainClass=com.aoc.AdventOfCode -Dexec.args="0 0 1"

Change args depending on which answer you wish to see, or no args if you wish to play all days:

-Dexec.args="<day(0-25)> <part(0/1/2) <rounds>"

Tip

You can specify -1 days to play through all of the days and parts. Rounds specifies how many times each puzzle will be played for benchmarking.

Picture of a terminal displaying average times of running each day and part of AoC 2023

Example run displaying average times it takes to complete each day and part