summaryrefslogtreecommitdiffstats
path: root/skel/solution.cpp
blob: 4279dec6b59365a5e35af77f514e66cfcf83c0dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <bits/stdc++.h>

namespace views = std::views;
namespace ranges = std::ranges;

auto parse_input(std::istream& is) {
    const std::string input = {
        std::istreambuf_iterator<char>(is),
        std::istreambuf_iterator<char>()
    };

    auto const lines = views::split(input, '\n');
    // Parse input
    return lines;
}

void part1(auto const& input) {
    // Write first part solution here
}

void part2(auto const& input) {
    // Write second part solution here
}

int main() {
    auto const input = parse_input(std::cin);

    part1(input);
    part2(input);

    return 0;
}