diff options
| author | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-08-27 04:16:05 +0300 |
|---|---|---|
| committer | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-09-01 04:51:37 +0300 |
| commit | d5c2821d589ef36f885bb4f92a6d6ca0bc4cc0e7 (patch) | |
| tree | 268b9c82a4f26dc009eb852fb5419cc44ab81f01 /skel | |
| parent | .gitignore: ignore binaries, lsp cache and compile_commands.json (diff) | |
| download | aoc24-d5c2821d589ef36f885bb4f92a6d6ca0bc4cc0e7.tar.gz aoc24-d5c2821d589ef36f885bb4f92a6d6ca0bc4cc0e7.zip | |
Add ‘skel/‘ as template directory for each day
Diffstat (limited to 'skel')
| -rw-r--r-- | skel/Makefile | 1 | ||||
| -rw-r--r-- | skel/solution.cpp | 27 | ||||
| -rw-r--r-- | skel/tests/test1.input | 0 | ||||
| -rw-r--r-- | skel/tests/test1.output | 0 |
4 files changed, 28 insertions, 0 deletions
diff --git a/skel/Makefile b/skel/Makefile new file mode 100644 index 0000000..2fa98c0 --- /dev/null +++ b/skel/Makefile | |||
| @@ -0,0 +1 @@ | |||
| include ../aoc.mk | |||
diff --git a/skel/solution.cpp b/skel/solution.cpp new file mode 100644 index 0000000..f268bff --- /dev/null +++ b/skel/solution.cpp | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | #include <print> | ||
| 2 | #include <iostream> | ||
| 3 | |||
| 4 | const auto parse_input() { | ||
| 5 | |||
| 6 | } | ||
| 7 | |||
| 8 | void part1(const auto &input) { | ||
| 9 | |||
| 10 | } | ||
| 11 | |||
| 12 | void part2(const auto &input) { | ||
| 13 | |||
| 14 | } | ||
| 15 | |||
| 16 | int main() { | ||
| 17 | const auto input = parse_input(); | ||
| 18 | |||
| 19 | #ifndef NO_PART1 | ||
| 20 | part1(input); | ||
| 21 | #endif \ | ||
| 22 | |||
| 23 | #ifndef NO_PART2 | ||
| 24 | part2(input); | ||
| 25 | #endif | ||
| 26 | return 0; | ||
| 27 | } | ||
diff --git a/skel/tests/test1.input b/skel/tests/test1.input new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/skel/tests/test1.input | |||
diff --git a/skel/tests/test1.output b/skel/tests/test1.output new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/skel/tests/test1.output | |||
