||1 week ago|
|.idea||2 weeks ago|
|include||1 week ago|
|lib||4 weeks ago|
|src||1 week ago|
|.gitignore||2 weeks ago|
|.gitmodules||4 weeks ago|
|CMakeLists.txt||3 weeks ago|
|LICENSE||3 months ago|
|README.md||3 weeks ago|
|build.sh||3 weeks ago|
|generator.sh||4 weeks ago|
|get_input.sh||4 weeks ago|
Advent Of Code solutions using C99.
Be sure to clone the project with its submodules:
git clone --recurse-submodules https://git.fputs.com/fputs/advent
This project relies on several BSD extensions to the stdlib. BSDs should be able to build the project out of the box. Linux users will need
libbsd installed. The package is called
libbsd-dev on Debian-based systems.
Build the project using Cmake:
mkdir build cd build cmake .. make
build.sh script does the above for you.
Inputs can be generated from
get_input.sh. You will need to get your session cookie from the Advent of Code website. The easiest way to do this is to inspect any input page in your browser.
The script can then be run with
bash get_input.sh SESSIONCOOKIE, with
SESSIONCOOKIE replaced by your unique session cookie's hash.