https://github.com/patrickroberts/aoc
Advent of Code in C++ (Boost.Mp11)
https://github.com/patrickroberts/aoc
Last synced: 3 months ago
JSON representation
Advent of Code in C++ (Boost.Mp11)
- Host: GitHub
- URL: https://github.com/patrickroberts/aoc
- Owner: patrickroberts
- Created: 2023-12-03T07:56:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-03T07:57:41.000Z (over 1 year ago)
- Last Synced: 2025-01-21T13:07:06.682Z (5 months ago)
- Language: C++
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code in C++ (Boost.Mp11)
## Setup
```sh
cmake -B build -S . -DAOC_SESSION_COOKIE=...
```Obtain your value for `AOC_SESSION_COOKIE` by inspecting the `Cookie` HTTP request header your browser sends while logged into https://adventofcode.com. This will be used by CMake to download the puzzle input files for each day during configuration.
You should avoid committing your session cookie, or your puzzle input files.
## Running
```sh
cmake --build build --target run_aoc_2023_day_1_part_1_example
``````
https://adventofcode.com/2023/day/1
part 1 example = 142
Build finished with exit code 0
```Have fun!