![](Media/2022/01.png)
![](Media/2022/02.png)
![](Media/2022/03.png)
![](Media/2022/04.png)
![](Media/2021/01.png)
![](Media/2021/02.png)
![](Media/2021/03.png)
![](Media/2021/04.png)
![](Media/2021/05.png)
![](Media/2021/06.png)
![](Media/2021/07.png)
![](Media/2021/08.png)
![](Media/2021/09.png)
![](Media/2021/10.png)
![](Media/2021/11.png)
![](Media/2021/12.png)
![](Media/2021/13.png)
![](Media/2021/14.png)
![](Media/2021/15.png)
![](Media/2021/16.png)
![](Media/2021/17.png)
![](Media/2021/18.png)
![](Media/2021/19.png)
![](Media/2021/20.png)
![](Media/2021/21.png)
![](Media/2021/22.png)
![](Media/2021/23.png)
![](Media/2021/24.png)
![](Media/2021/25.png)
The graphic above has been created with AoCTiles/create_aoc_tiles.py script. Feel free to use it in your own repositories. See the AoCTiles/README.md for instructions on how to use it.
All solutions expect the input via stdin
and print to stdout
. Each solution always prints part 1 and 2 at the same time on separate lines. In order to test the programs you can pipi the input to the program: julia 1.jl < input.in
, which is then compared to input.ans
. Instead of doing this manually, I use my program-tester.sh
script (see here), which runs the given program on all *.in
files in the directory, and tests whether the corresponding *.ans
file matches the given output. I have mapped that program on Enter
in vim, which makes testing programs easy. To validate a program manually, type diff <(julia 1.jl < input.in) input.ans
.
Programs are initialized with the init-day.sh
script. I.e. typing init-day.sh 10
initializes the 10th day by creating a folder named 10
, downloading the input test case with the session.cookie
, copying the dummy.py
file and opening the solution file.
- 2021: There is a solution for each problem in Julia. Sometimes there is a Python or APL solution as well. I'm trying out Julia for the first time, mostly focusing on short and elegant code.