the projects main entry is a cli program that can run all the days challenges.
$ adventofcode --help
Solving adventofcode challenges
Usage: adventofcode [OPTIONS] <DAY> <PART>
Arguments:
<DAY>
<PART>
Options:
-t, --test use short test dataset
-d, --data <DATA> path to the input data folder [default: data]
-p, --profile repeat runs x1000 for profiling
-n, --numruns <NUMRUNS> how often to repat the function call for profiling [default: 1000]
-h, --help Print help
so if you want to run they 1 part 2 with the test data set run
$ adventofcode 1 1 -t
day: 1, part: 1
loading data from 'data/day1/test_input1.txt'
Duration: [..] us
Solution: 142
all solutions are found below
Part 1
$ adventofcode 1 1
day: 1, part: 1
loading data from 'data/day1/input1.txt'
Duration: [..] us
Solution: 55447
Part 2
$ adventofcode 1 2
day: 1, part: 2
loading data from 'data/day1/input2.txt'
Duration: [..] us
Solution: 54706
Part 1
$ adventofcode 2 1
day: 2, part: 1
loading data from 'data/day2/input1.txt'
Duration: [..] us
Solution: 2348
Part 2
$ adventofcode 2 2
day: 2, part: 2
loading data from 'data/day2/input2.txt'
Duration: [..] us
Solution: 76008
Part 1
$ adventofcode 3 1
day: 3, part: 1
loading data from 'data/day3/input1.txt'
Duration: [..] us
Solution: 528799
Part 2
$ adventofcode 3 2
day: 3, part: 2
loading data from 'data/day3/input2.txt'
Duration: [..] us
Solution: 84907174
Part 1
$ adventofcode 4 1
day: 4, part: 1
loading data from 'data/day4/input1.txt'
Duration: [..] us
Solution: 20407
Part 2
$ adventofcode 4 2
day: 4, part: 2
loading data from 'data/day4/input2.txt'
Duration: [..] us
Solution: 23806951
Part 1
$ adventofcode 5 1
day: 5, part: 1
loading data from 'data/day5/input1.txt'
Duration: [..] us
Solution: 289863851
Part 2
$ adventofcode 5 2
day: 5, part: 2
loading data from 'data/day5/input2.txt'
Duration: [..] us
Solution: 60568880
Part 1
$ adventofcode 6 1
day: 6, part: 1
loading data from 'data/day6/input1.txt'
Duration: [..] us
Solution: 4811940
Part 2
$ adventofcode 6 2
day: 6, part: 2
loading data from 'data/day6/input2.txt'
Duration: [..] us
Solution: 30077773
Part 1
$ adventofcode 7 1
day: 7, part: 1
loading data from 'data/day7/input1.txt'
Duration: [..] us
Solution: 248179786
Part 2
$ adventofcode 7 2
day: 7, part: 2
loading data from 'data/day7/input2.txt'
Duration: [..] us
Solution: 247885995
Part 1
$ adventofcode 8 1
day: 8, part: 1
loading data from 'data/day8/input1.txt'
Duration: [..] us
Solution: 13939
Part 2
$ adventofcode 8 2
day: 8, part: 2
loading data from 'data/day8/input2.txt'
Duration: [..] us
Solution: 8906539031197
Part 1
$ adventofcode 9 1
day: 9, part: 1
loading data from 'data/day9/input1.txt'
Duration: [..] us
Solution: 1684566095
Part 2
$ adventofcode 9 2
day: 9, part: 2
loading data from 'data/day9/input2.txt'
Duration: [..] us
Solution: 1136
Part 1
$ adventofcode 10 1
day: 10, part: 1
loading data from 'data/day10/input1.txt'
Duration: [..] us
Solution: 7066
Part 2
$ adventofcode 10 2
day: 10, part: 2
loading data from 'data/day10/input2.txt'
Duration: [..] us
Solution: 401
Part 1
$ adventofcode 11 1
day: 11, part: 1
loading data from 'data/day11/input1.txt'
Duration: [..] us
Solution: 9965032
Part 2
$ adventofcode 11 2
day: 11, part: 2
loading data from 'data/day11/input2.txt'
Duration: [..] us
Solution: 550358864332
Part 1
$ adventofcode 12 1
day: 12, part: 1
loading data from 'data/day12/input1.txt'
Duration: [..] us
Solution: 7716
Part 2
$ adventofcode 12 2
day: 12, part: 2
loading data from 'data/day12/input2.txt'
Duration: [..] us
Solution: 18716325559999
Part 1
$ adventofcode 13 1
day: 13, part: 1
loading data from 'data/day13/input1.txt'
Duration: [..] us
Solution: 31400
Part 2
$ adventofcode 13 2
day: 13, part: 2
loading data from 'data/day13/input2.txt'
Duration: [..] us
Solution: 31739
Part 1
$ adventofcode 14 1
day: 14, part: 1
loading data from 'data/day14/input1.txt'
Duration: [..] us
Solution: 106186
Part 2
$ adventofcode 14 2
day: 14, part: 2
loading data from 'data/day14/input2.txt'
Duration: [..] us
Solution: 106390
Part 1
$ adventofcode 15 1
day: 15, part: 1
loading data from 'data/day15/input1.txt'
Duration: [..] us
Solution: 497373
Part 2
$ adventofcode 15 2
day: 15, part: 2
loading data from 'data/day15/input2.txt'
Duration: [..] us
Solution: 259356
Part 1
$ adventofcode 16 1
day: 16, part: 1
loading data from 'data/day16/input1.txt'
Duration: [..] us
Solution: 8112
Part 2
$ adventofcode 16 2
day: 16, part: 2
loading data from 'data/day16/input2.txt'
Duration: [..] us
Solution: 8314
Part 1
$ adventofcode 17 1
day: 17, part: 1
loading data from 'data/day17/input1.txt'
Duration: [..] us
Solution: 845
Part 2
$ adventofcode 17 2
day: 17, part: 2
loading data from 'data/day17/input2.txt'
Duration: [..] us
Solution: 993
Part 1
$ adventofcode 18 1
day: 18, part: 1
loading data from 'data/day18/input1.txt'
Duration: [..] us
Solution: 95356
Part 2
$ adventofcode 18 2
day: 18, part: 2
loading data from 'data/day18/input2.txt'
Duration: [..] us
Solution: 92291468914147
Part 1
$ adventofcode 19 1
day: 19, part: 1
loading data from 'data/day19/input1.txt'
Duration: [..] us
Solution: 374873
Part 2
$ adventofcode 19 2
day: 19, part: 2
loading data from 'data/day19/input2.txt'
Duration: [..] us
Solution: 122112157518711
Part 1
$ adventofcode 20 1
day: 20, part: 1
loading data from 'data/day20/input1.txt'
Duration: [..] us
Solution: 825896364
Part 2
$ adventofcode 20 2
day: 20, part: 2
loading data from 'data/day20/input2.txt'
Duration: [..] us
Solution: 243566897206981
Part 1
$ adventofcode 21 1
day: 21, part: 1
loading data from 'data/day21/input1.txt'
Duration: [..] us
Solution: 3724
Part 2
$ adventofcode 21 2
day: 21, part: 2
loading data from 'data/day21/input2.txt'
Duration: [..] us
Solution: 620348631910321
Part 1
$ adventofcode 22 1
day: 22, part: 1
loading data from 'data/day22/input1.txt'
Duration: [..] us
Solution: 499
Part 2
$ adventofcode 22 2
day: 22, part: 2
loading data from 'data/day22/input2.txt'
Duration: [..] us
Solution: 95059
Part 1
$ adventofcode 23 1
day: 23, part: 1
loading data from 'data/day23/input1.txt'
Duration: [..] us
Solution: 2018
Part 2
$ adventofcode 23 2
day: 23, part: 2
loading data from 'data/day23/input2.txt'
Duration: [..] us
Solution: 6406
Part 1
$ adventofcode 24 1
day: 24, part: 1
loading data from 'data/day24/input1.txt'
Duration: [..] us
Solution: 15558
Part 2
$ adventofcode 24 2
day: 24, part: 2
loading data from 'data/day24/input2.txt'
Duration: [..] us
Solution: 765636044333842
Part 1
$ adventofcode 25 1
day: 25, part: 1
loading data from 'data/day25/input1.txt'
Duration: [..] us
Solution: 514794
Part 2
$ adventofcode 25 2
day: 25, part: 2
loading data from 'data/day25/input2.txt'
done!
Duration: [..] us
Solution: 0
Author: Philipp Polterauer