scaffold 2024

This commit is contained in:
2025-11-14 07:54:02 -08:00
parent ef109439e6
commit 68d81019e8
59 changed files with 20459 additions and 33 deletions

View File

@@ -1,34 +1,15 @@
# aoc
# advent-of-code
Advent Of Code solutions for 2015 using C99. Builds and runs on macOS, Linux, and OpenBSD.
Advent Of Code solutions using a different language each year
## Building
Be sure to clone the top project with its submodules:
git clone --recurse-submodules https://git.burkey.co/eburk/aoc
This project relies on several BSD extensions to the stdlib. OpenBSD and macOS users 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
The supplied `build.sh` script does the above for you.
## Inputs
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.
## Usage
```bash
./advent $DAY
```
For example, `./advent 1` will run Day 01
2015: C99
2016: Go
2017: TBD
2018: TBD
2019: TBD
2020: TBD
2021: TBD
2022: TBD
2023: TBD
2024: C#
2025: TBD