Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hlustikp/adventofcode24
My C++23 Solutions for the Advent of Code 2024
https://github.com/hlustikp/adventofcode24
Last synced: 2 days ago
JSON representation
My C++23 Solutions for the Advent of Code 2024
- Host: GitHub
- URL: https://github.com/hlustikp/adventofcode24
- Owner: HlustikP
- License: mit
- Created: 2024-12-01T12:51:06.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-02T19:32:05.000Z (2 months ago)
- Last Synced: 2024-12-02T20:28:28.670Z (2 months ago)
- Language: C++
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code C++23 Solutions 2024
This repository contains my solutions for the [Advent of Code 2024](https://adventofcode.com/2024) challenges.In accordance to the [Advent of Code Author's request](https://adventofcode.com/2024/about),
I am not including any input files, please provide them yourself
inside the `src/inputs` directory.## Requirements
- CMake
- C++20 compatible compiler
- Ninja [(Get here)](https://ninja-build.org)## Build
```bash
cmake --preset x64-release
cd ./build/x64-release
ninja
```## Run
`AdventOfCode24.exe path/to/iputs/dir day` so e.g.:
```bash
AdventOfCode24.exe ./src/inputs 1
```Inputs are expected to be in theformat `inputDAY-TASK.txt` so e.g. `input1-1.txt`.