Home

Awesome

<!-- AOC TILES BEGIN --> <h1 align="center"> Advent of Code - 210/450 ⭐ </h1> <h1 align="center"> 2023 - 50 ⭐ - Python </h1> <a href="2023/01/01.py"> <img src=".aoc_tiles/tiles/2023/01.png" width="161px"> </a> <a href="2023/02/02.py"> <img src=".aoc_tiles/tiles/2023/02.png" width="161px"> </a> <a href="2023/03/03.py"> <img src=".aoc_tiles/tiles/2023/03.png" width="161px"> </a> <a href="2023/04/04.py"> <img src=".aoc_tiles/tiles/2023/04.png" width="161px"> </a> <a href="2023/05/05.py"> <img src=".aoc_tiles/tiles/2023/05.png" width="161px"> </a> <a href="2023/06/06.py"> <img src=".aoc_tiles/tiles/2023/06.png" width="161px"> </a> <a href="2023/07/07.py"> <img src=".aoc_tiles/tiles/2023/07.png" width="161px"> </a> <a href="2023/08/08.py"> <img src=".aoc_tiles/tiles/2023/08.png" width="161px"> </a> <a href="2023/09/09.py"> <img src=".aoc_tiles/tiles/2023/09.png" width="161px"> </a> <a href="2023/10/10.py"> <img src=".aoc_tiles/tiles/2023/10.png" width="161px"> </a> <a href="2023/11/11.py"> <img src=".aoc_tiles/tiles/2023/11.png" width="161px"> </a> <a href="2023/12/12.py"> <img src=".aoc_tiles/tiles/2023/12.png" width="161px"> </a> <a href="2023/13/13.py"> <img src=".aoc_tiles/tiles/2023/13.png" width="161px"> </a> <a href="2023/14/14.py"> <img src=".aoc_tiles/tiles/2023/14.png" width="161px"> </a> <a href="2023/15/15.py"> <img src=".aoc_tiles/tiles/2023/15.png" width="161px"> </a> <a href="2023/16/16.py"> <img src=".aoc_tiles/tiles/2023/16.png" width="161px"> </a> <a href="2023/17/17.py"> <img src=".aoc_tiles/tiles/2023/17.png" width="161px"> </a> <a href="2023/18/18.py"> <img src=".aoc_tiles/tiles/2023/18.png" width="161px"> </a> <a href="2023/19/19.py"> <img src=".aoc_tiles/tiles/2023/19.png" width="161px"> </a> <a href="2023/20/20.py"> <img src=".aoc_tiles/tiles/2023/20.png" width="161px"> </a> <a href="2023/21/21.py"> <img src=".aoc_tiles/tiles/2023/21.png" width="161px"> </a> <a href="2023/22/22.py"> <img src=".aoc_tiles/tiles/2023/22.png" width="161px"> </a> <a href="2023/23/23.py"> <img src=".aoc_tiles/tiles/2023/23.png" width="161px"> </a> <a href="2023/24/24.py"> <img src=".aoc_tiles/tiles/2023/24.png" width="161px"> </a> <a href="2023/25/25.py"> <img src=".aoc_tiles/tiles/2023/25.png" width="161px"> </a> <h1 align="center"> 2022 - 50 ⭐ - Kotlin </h1> <a href="2022/01/01.kt"> <img src=".aoc_tiles/tiles/2022/01.png" width="161px"> </a> <a href="2022/02/02.kt"> <img src=".aoc_tiles/tiles/2022/02.png" width="161px"> </a> <a href="2022/03/03.kt"> <img src=".aoc_tiles/tiles/2022/03.png" width="161px"> </a> <a href="2022/04/04.kt"> <img src=".aoc_tiles/tiles/2022/04.png" width="161px"> </a> <a href="2022/05/05.kt"> <img src=".aoc_tiles/tiles/2022/05.png" width="161px"> </a> <a href="2022/06/06.kt"> <img src=".aoc_tiles/tiles/2022/06.png" width="161px"> </a> <a href="2022/07/07.kt"> <img src=".aoc_tiles/tiles/2022/07.png" width="161px"> </a> <a href="2022/08/08.kt"> <img src=".aoc_tiles/tiles/2022/08.png" width="161px"> </a> <a href="2022/09/09.kt"> <img src=".aoc_tiles/tiles/2022/09.png" width="161px"> </a> <a href="2022/10/10.kt"> <img src=".aoc_tiles/tiles/2022/10.png" width="161px"> </a> <a href="2022/11/11.kt"> <img src=".aoc_tiles/tiles/2022/11.png" width="161px"> </a> <a href="2022/12/12.kt"> <img src=".aoc_tiles/tiles/2022/12.png" width="161px"> </a> <a href="2022/13/13.kt"> <img src=".aoc_tiles/tiles/2022/13.png" width="161px"> </a> <a href="2022/14/14.kt"> <img src=".aoc_tiles/tiles/2022/14.png" width="161px"> </a> <a href="2022/15/15.kt"> <img src=".aoc_tiles/tiles/2022/15.png" width="161px"> </a> <a href="2022/16/16.kt"> <img src=".aoc_tiles/tiles/2022/16.png" width="161px"> </a> <a href="2022/17/17.kt"> <img src=".aoc_tiles/tiles/2022/17.png" width="161px"> </a> <a href="2022/18/18.kt"> <img src=".aoc_tiles/tiles/2022/18.png" width="161px"> </a> <a href="2022/19/19.kt"> <img src=".aoc_tiles/tiles/2022/19.png" width="161px"> </a> <a href="2022/20/20.kt"> <img src=".aoc_tiles/tiles/2022/20.png" width="161px"> </a> <a href="2022/21/21.kt"> <img src=".aoc_tiles/tiles/2022/21.png" width="161px"> </a> <a href="2022/22/22.kt"> <img src=".aoc_tiles/tiles/2022/22.png" width="161px"> </a> <a href="2022/23/23.kt"> <img src=".aoc_tiles/tiles/2022/23.png" width="161px"> </a> <a href="2022/24/24.kt"> <img src=".aoc_tiles/tiles/2022/24.png" width="161px"> </a> <a href="2022/25/25.kt"> <img src=".aoc_tiles/tiles/2022/25.png" width="161px"> </a> <h1 align="center"> 2021 - 50 ⭐ - Julia </h1> <a href="2021/01/1.jl"> <img src=".aoc_tiles/tiles/2021/01.png" width="161px"> </a> <a href="2021/02/2.jl"> <img src=".aoc_tiles/tiles/2021/02.png" width="161px"> </a> <a href="2021/03/3.jl"> <img src=".aoc_tiles/tiles/2021/03.png" width="161px"> </a> <a href="2021/04/4.jl"> <img src=".aoc_tiles/tiles/2021/04.png" width="161px"> </a> <a href="2021/05/5.jl"> <img src=".aoc_tiles/tiles/2021/05.png" width="161px"> </a> <a href="2021/06/6.jl"> <img src=".aoc_tiles/tiles/2021/06.png" width="161px"> </a> <a href="2021/07/7.jl"> <img src=".aoc_tiles/tiles/2021/07.png" width="161px"> </a> <a href="2021/08/8.jl"> <img src=".aoc_tiles/tiles/2021/08.png" width="161px"> </a> <a href="2021/09/9.jl"> <img src=".aoc_tiles/tiles/2021/09.png" width="161px"> </a> <a href="2021/10/10.jl"> <img src=".aoc_tiles/tiles/2021/10.png" width="161px"> </a> <a href="2021/11/11.jl"> <img src=".aoc_tiles/tiles/2021/11.png" width="161px"> </a> <a href="2021/12/12.jl"> <img src=".aoc_tiles/tiles/2021/12.png" width="161px"> </a> <a href="2021/13/13.jl"> <img src=".aoc_tiles/tiles/2021/13.png" width="161px"> </a> <a href="2021/14/14.jl"> <img src=".aoc_tiles/tiles/2021/14.png" width="161px"> </a> <a href="2021/15/15.jl"> <img src=".aoc_tiles/tiles/2021/15.png" width="161px"> </a> <a href="2021/16/16.jl"> <img src=".aoc_tiles/tiles/2021/16.png" width="161px"> </a> <a href="2021/17/17.jl"> <img src=".aoc_tiles/tiles/2021/17.png" width="161px"> </a> <a href="2021/18/18.jl"> <img src=".aoc_tiles/tiles/2021/18.png" width="161px"> </a> <a href="2021/19/19.jl"> <img src=".aoc_tiles/tiles/2021/19.png" width="161px"> </a> <a href="2021/20/20.jl"> <img src=".aoc_tiles/tiles/2021/20.png" width="161px"> </a> <a href="2021/21/21.jl"> <img src=".aoc_tiles/tiles/2021/21.png" width="161px"> </a> <a href="2021/22/22.jl"> <img src=".aoc_tiles/tiles/2021/22.png" width="161px"> </a> <a href="2021/23/23.jl"> <img src=".aoc_tiles/tiles/2021/23.png" width="161px"> </a> <a href="2021/24/24.jl"> <img src=".aoc_tiles/tiles/2021/24.png" width="161px"> </a> <a href="2021/25/25.jl"> <img src=".aoc_tiles/tiles/2021/25.png" width="161px"> </a> <h1 align="center"> 2020 - 50 ⭐ - Rust </h1> <a href="2020/01/01.rs"> <img src=".aoc_tiles/tiles/2020/01.png" width="161px"> </a> <a href="2020/02/02.rs"> <img src=".aoc_tiles/tiles/2020/02.png" width="161px"> </a> <a href="2020/03/03.rs"> <img src=".aoc_tiles/tiles/2020/03.png" width="161px"> </a> <a href="2020/04/04.rs"> <img src=".aoc_tiles/tiles/2020/04.png" width="161px"> </a> <a href="2020/05/05.rs"> <img src=".aoc_tiles/tiles/2020/05.png" width="161px"> </a> <a href="2020/06/06.rs"> <img src=".aoc_tiles/tiles/2020/06.png" width="161px"> </a> <a href="2020/07/07.rs"> <img src=".aoc_tiles/tiles/2020/07.png" width="161px"> </a> <a href="2020/08/08.rs"> <img src=".aoc_tiles/tiles/2020/08.png" width="161px"> </a> <a href="2020/09/09.rs"> <img src=".aoc_tiles/tiles/2020/09.png" width="161px"> </a> <a href="2020/10/10.rs"> <img src=".aoc_tiles/tiles/2020/10.png" width="161px"> </a> <a href="2020/11/11.rs"> <img src=".aoc_tiles/tiles/2020/11.png" width="161px"> </a> <a href="2020/12/12.rs"> <img src=".aoc_tiles/tiles/2020/12.png" width="161px"> </a> <a href="2020/13/13.rs"> <img src=".aoc_tiles/tiles/2020/13.png" width="161px"> </a> <a href="2020/14/14.rs"> <img src=".aoc_tiles/tiles/2020/14.png" width="161px"> </a> <a href="2020/15/15.rs"> <img src=".aoc_tiles/tiles/2020/15.png" width="161px"> </a> <a href="2020/16/16.rs"> <img src=".aoc_tiles/tiles/2020/16.png" width="161px"> </a> <a href="2020/17/17.rs"> <img src=".aoc_tiles/tiles/2020/17.png" width="161px"> </a> <a href="2020/18/18.rs"> <img src=".aoc_tiles/tiles/2020/18.png" width="161px"> </a> <a href="2020/19/19.rs"> <img src=".aoc_tiles/tiles/2020/19.png" width="161px"> </a> <a href="2020/20/20.rs"> <img src=".aoc_tiles/tiles/2020/20.png" width="161px"> </a> <a href="2020/21/21.rs"> <img src=".aoc_tiles/tiles/2020/21.png" width="161px"> </a> <a href="2020/22/22.rs"> <img src=".aoc_tiles/tiles/2020/22.png" width="161px"> </a> <a href="2020/23/23.rs"> <img src=".aoc_tiles/tiles/2020/23.png" width="161px"> </a> <a href="2020/24/24.rs"> <img src=".aoc_tiles/tiles/2020/24.png" width="161px"> </a> <a href="2020/25/25.rs"> <img src=".aoc_tiles/tiles/2020/25.png" width="161px"> </a> <h1 align="center"> 2019 - 10 ⭐ - OCaml </h1> <a href="2019/01/01.ml"> <img src=".aoc_tiles/tiles/2019/01.png" width="161px"> </a> <a href="2019/02/02.ml"> <img src=".aoc_tiles/tiles/2019/02.png" width="161px"> </a> <a href="2019/03/03.ml"> <img src=".aoc_tiles/tiles/2019/03.png" width="161px"> </a> <a href="None"> <img src=".aoc_tiles/tiles/2019/04.png" width="161px"> </a> <a href="None"> <img src=".aoc_tiles/tiles/2019/05.png" width="161px"> </a> <!-- AOC TILES END -->

The above tiles are clickable, leading to the solution of the corresponding day.


The graphic above has been created using aoc_tiles. Feel free to use it, it's easy to set up!


My solutions:

and are written in a different programming language each year:

Not part of the repository yet, since these are incomplete and the code is not good (might revisit them later):


Running

In order to test the programs you can pipe the input to the program, for example: julia 1.jl < input.in. The correct output is saved in the 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.

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 and downloading the input test case with the session.cookie.

My favorite solution 2023/18