2023-12-06 10:57:37 +01:00
|
|
|
#include <iostream>
|
2023-12-06 17:54:53 +01:00
|
|
|
#include "pb_1/problem_1.hpp"
|
2023-12-06 10:57:37 +01:00
|
|
|
|
|
|
|
int main() {
|
2023-12-06 17:54:53 +01:00
|
|
|
{
|
|
|
|
std::cout << "Begin Problem 1 part 1\n";
|
|
|
|
if (const auto result = pb1::solve_problem_part1("inputs/pb1.txt"); result != 0) {
|
|
|
|
std::cout << "Problem 1 part1: " << result << '\n';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
std::cout << "Begin Problem 1 part 2\n";
|
|
|
|
if (const auto result = pb1::solve_problem_part2("inputs/pb1_p2_sample.txt"); result != 0) {
|
|
|
|
std::cout << "Problem 1 part2: " << result << '\n';
|
|
|
|
}
|
|
|
|
}
|
2023-12-06 10:57:37 +01:00
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|