An open API service indexing awesome lists of open source software.

https://github.com/arcogelderblom/AdventOfCode

Advent of Code
https://github.com/arcogelderblom/AdventOfCode

advent-of-code advent-of-code-2020 advent-of-code-2021 advent-of-code-2023 advent-of-code-2024 advent-of-code-cpp aoc aoc-2020 aoc-2021 aoc-2023 aoc-2024 aoc-cpp

Last synced: 2 months ago
JSON representation

Advent of Code

Awesome Lists containing this project

README

          

# Advent Of Code :christmas_tree::christmas_tree:

[![AoC 2015](https://img.shields.io/badge/2015-⭐%2026-gray?logo=adventofcode&labelColor=3c8d0d)](https://adventofcode.com/2020)
[![AoC 2020](https://img.shields.io/badge/2020-⭐%2050-gray?logo=adventofcode&labelColor=3c8d0d)](https://adventofcode.com/2020)
[![AoC 2021](https://img.shields.io/badge/2021-⭐%2050-gray?logo=adventofcode&labelColor=3c8d0d)](https://adventofcode.com/2021)
[![AoC 2023](https://img.shields.io/badge/2023-⭐%2028-gray?logo=adventofcode&labelColor=3c8d0d)](https://adventofcode.com/2023)
[![AoC 2024](https://img.shields.io/badge/2024-⭐%2050-gray?logo=adventofcode&labelColor=3c8d0d)](https://adventofcode.com/2024)

My entry for the different years of Advent Of Code

## Progress
| Year | Stars |
| - | - |
| 2015 | 26 :star2: |
| 2020 | 50 :star2: |
| 2021 | 50 :star2: |
| 2023 | 28 :star2: |
| 2024 | 50 :star2: |

## Input files
As per request by Eric Wastl the actual input files that I've got for my entry are hidden inside of a submodule that points to a private repository. All my solutions however should be able to run all possible inputs, so grab yours and try it out!

## How to run
There are 2 scripts included in this repository. First you need to build the generic library. This can be done by using the following command:
```
./build_genericlib.sh
```
Afterwards you can run any day that is available with a solution.
```
./run_aoc_day.sh
```
Example for running day 1 of 2023: ```./run_aoc_day.sh Day01 2023```

If you would like to run all days of a given year you can do so by using the script for that.
```
./run_aoc_year.sh
```
Example for running all days of 2021: ```./run_aoc_year.sh 2021```