diff --git a/day8/main.cpp b/day8/main.cpp index b57022d..dcbdea8 100644 --- a/day8/main.cpp +++ b/day8/main.cpp @@ -149,8 +149,9 @@ static auto doTheThing(const std::vector &pointVec, int numberToTake) -> auto main() -> int { auto testCase = parseInput("test_input"); if (testCase) { + constexpr int TEST_PUZZLE_TAKE = 10; - auto testResult = doTheThing(*testCase, 10); + auto testResult = doTheThing(*testCase, TEST_PUZZLE_TAKE); std::println("P1 Testcase result: {}", testResult); // auto testResultP2 = treePartTwo(*testCase); @@ -161,10 +162,11 @@ auto main() -> int { auto realPuzzle = parseInput("puzzle_input"); if (realPuzzle) { - // auto realResult = doTheThing(*realPuzzle, 1000); + constexpr int REAL_PUZZLE_TAKE = 1000; + // auto realResult = doTheThing(*realPuzzle, REAL_PUZZLE_TAKE); // std::println("P1 Real result: {}", realResult); - auto realResultP2 = doTheThing(*realPuzzle, 1000); + auto realResultP2 = doTheThing(*realPuzzle, REAL_PUZZLE_TAKE); std::println("P2 Real result: {}", realResultP2); } else { std::print("{}\n", realPuzzle.error());