https://github.com/willkill07/adventofcode2024
My Solutions to https://adventofcode.com/2024
https://github.com/willkill07/adventofcode2024
Last synced: 5 months ago
JSON representation
My Solutions to https://adventofcode.com/2024
- Host: GitHub
- URL: https://github.com/willkill07/adventofcode2024
- Owner: willkill07
- License: apache-2.0
- Created: 2024-12-01T04:34:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-28T03:37:25.000Z (about 1 year ago)
- Last Synced: 2025-07-25T03:37:14.143Z (6 months ago)
- Language: C++
- Size: 138 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Advent Of Code 2024
Tested on Linux with libstdc++ >= 14.1 and clang >= 18.1
## Prerequisites
1. CMake (version >= 3.28)
2. libstdc++ >= 14.1
3. clang >= 18.1
3. Ninja
## Building
```
CXX=clang++ cmake -B build -GNinja && cmake --build build
```
## Running
```
./build/AdventOfCode2024
```
## Input File Expectations
1. Create a `inputs` directory:
```bash
mkdir inputs
```
2. Naming should adhere to `DayXX.txt` where `XX` is a zero-padded number representing the day. For example, `inputs/Day01.txt` will be opened when running Day 01. `inputs/Day20.txt` will be opened when running Day 20.