summaryrefslogtreecommitdiffstats
path: root/skel/solution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'skel/solution.cpp')
-rw-r--r--skel/solution.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/skel/solution.cpp b/skel/solution.cpp
new file mode 100644
index 0000000..4279dec
--- /dev/null
+++ b/skel/solution.cpp
@@ -0,0 +1,32 @@
1#include <bits/stdc++.h>
2
3namespace views = std::views;
4namespace ranges = std::ranges;
5
6auto parse_input(std::istream& is) {
7 const std::string input = {
8 std::istreambuf_iterator<char>(is),
9 std::istreambuf_iterator<char>()
10 };
11
12 auto const lines = views::split(input, '\n');
13 // Parse input
14 return lines;
15}
16
17void part1(auto const& input) {
18 // Write first part solution here
19}
20
21void part2(auto const& input) {
22 // Write second part solution here
23}
24
25int main() {
26 auto const input = parse_input(std::cin);
27
28 part1(input);
29 part2(input);
30
31 return 0;
32}