diff options
| author | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-08-30 12:59:31 +0300 |
|---|---|---|
| committer | Orfeas <38209077+0xfea5@users.noreply.github.com> | 2025-09-01 04:51:37 +0300 |
| commit | 890d50458cd9f00189ab19f0d1fa4e4b7e8a698d (patch) | |
| tree | e8f967e901ca7847967c15eb4593853bd8658bb3 | |
| parent | day01: use structure binding in range for loop (diff) | |
| download | aoc24-890d50458cd9f00189ab19f0d1fa4e4b7e8a698d.tar.gz aoc24-890d50458cd9f00189ab19f0d1fa4e4b7e8a698d.zip | |
skel/: include some useful headers in solution.cpp
| -rw-r--r-- | skel/solution.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/skel/solution.cpp b/skel/solution.cpp index f268bff..c270cfd 100644 --- a/skel/solution.cpp +++ b/skel/solution.cpp | |||
| @@ -1,5 +1,17 @@ | |||
| 1 | #include <print> | 1 | #include <print> |
| 2 | #include <iostream> | 2 | #include <iostream> |
| 3 | #include <ranges> | ||
| 4 | #include <algorithm> | ||
| 5 | #include <utility> | ||
| 6 | #include <vector> | ||
| 7 | #include <map> | ||
| 8 | #include <unordered_map> | ||
| 9 | #include <set> | ||
| 10 | #include <unordered_set> | ||
| 11 | #include <numeric> | ||
| 12 | |||
| 13 | namespace views = std::views; | ||
| 14 | namespace ranges = std::ranges; | ||
| 3 | 15 | ||
| 4 | const auto parse_input() { | 16 | const auto parse_input() { |
| 5 | 17 | ||
| @@ -18,7 +30,7 @@ int main() { | |||
| 18 | 30 | ||
| 19 | #ifndef NO_PART1 | 31 | #ifndef NO_PART1 |
| 20 | part1(input); | 32 | part1(input); |
| 21 | #endif \ | 33 | #endif |
| 22 | 34 | ||
| 23 | #ifndef NO_PART2 | 35 | #ifndef NO_PART2 |
| 24 | part2(input); | 36 | part2(input); |
