0
0
Fork 0
AdventOfCode2023/main.cpp

19 lines
553 B
C++
Raw Permalink Normal View History

2023-12-06 10:57:37 +01:00
#include <iostream>
#include "pb_1/problem_1.hpp"
2023-12-06 10:57:37 +01:00
int main() {
{
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;
}