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/solution.cpp | |
| 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/solution.cpp')
| -rw-r--r-- | skel/solution.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
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 | } | ||
