Skip to content

Commit

Permalink
thing
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Dec 8, 2024
1 parent 0aabe82 commit a61b42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2024/src/day7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ int main(int argc, char **argv)
auto second = part2(data);
std::cout << "Part 2: " << second << std::endl;

// first != answer1 ? throw std::runtime_error("Part 1 incorrect") : nullptr;
// second != answer2 ? throw std::runtime_error("Part 2 incorrect") : nullptr;
first != answer1 ? throw std::runtime_error("Part 1 incorrect") : nullptr;
second != answer2 ? throw std::runtime_error("Part 2 incorrect") : nullptr;

for (int i = 1; i < argc; ++i) {
if (std::string(argv[i]) == "--benchmark") {
Expand Down

0 comments on commit a61b42f

Please sign in to comment.