No description
  • C 34.1%
  • C++ 25.7%
  • Lua 21.4%
  • Rust 17.4%
  • jq 0.6%
  • Other 0.7%
Find a file
2025-12-07 19:33:35 +01:00
2020_C add license headers 2024-05-18 23:31:53 +02:00
2020_Cpp move input files to problem 2022-12-06 13:26:37 +01:00
2021_lua add license headers 2024-05-18 23:31:53 +02:00
2022_Cpp add license headers 2024-05-18 23:31:53 +02:00
2023_rust add license headers 2024-05-18 23:31:53 +02:00
2025_jq solve day3 (generic) 2025-12-07 19:33:35 +01:00
aoc_cli Quickfix for aoc utils 2023-12-03 20:55:05 +01:00
.gitignore ignore hidden files 2022-12-08 22:08:59 +01:00
hide_testing.bash bash script to hide .testing* files 2022-08-29 00:17:47 +02:00
LICENSE Create LICENSE 2024-05-18 22:27:53 +02:00
mon_day.bash some cleanup and restructuring with lua utils 2022-07-11 23:19:48 +02:00
README.md Added readme 2021-12-04 23:02:59 +01:00

Solutions of Advent of Code (which at least worked with my input files)

Regarding the C-code from 2020

Please note that at some point I didn't properly free all the memory I'm using in the end. In most cases it shouldn't be too hard to add this, but I didn't adust up to now. Just wanted to note that I consider this bad style (even though the space is freed by the OS anyway in the end).

While running there shouldn't be no memory leaks, since I free space with no pointer on it normally. But don't be too sure since this isn't checked with a sanitizer or valdrind, so maybe I missed some.

Also note that I used the header files implementing some datastructured from the bsd libs (tree and queue).

Download your input files by script

The script get_input.lua can retrive your puzzle input if you run it with a .sess file only holding your sessionkey. It will store the result in day<dayNr>.dat. By default the input of the current day is pulled, but you may specify <day> <year> as commandline options. There are NO checks if the day<dayNr>.dat file is already present (would be overwritten).

Dependencies