/advent-of-code-2023

My solutions to the Advent of Code 2023 challenges, written in C.

Primary LanguageCBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Advent of Code 2023

These are my solutions to the Advent of Code 2023 challenges. The solutions are written in C.

Development Setup

To build and run this project, you'll need a C compiler and CMake. For example, if you want to use GCC on Fedora Linux, you would run the following:

sudo dnf install gcc cmake

Building the project will depend on how your development environment handles CMake. Refer to the relevant documentation for instructions.

Running Solutions

You can run the solution for a particular challenge by passing the challenge ID to the compiled binary. The challenge ID consists of the day number and either a or b depending on which part you want to run for the given day. Example:

./build/aoc 1a