Skip to content

Commit

Permalink
answers
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Dec 13, 2024
1 parent 10368f0 commit bc7f282
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 2024/src/day12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ int part2(const Data &data)
for (auto &[area, sides] : val)
{
sum += area * sides;
std::cout << std::format("{}: area {}, sides: {}\n", key, area, sides);
}
}

Expand Down Expand Up @@ -255,8 +254,8 @@ int main(int argc, char **argv)
{
Data data = parse();

int answer1 = 0;
int answer2 = 0;
int answer1 = 1396298;
int answer2 = 853588;

auto first = part1(data);
std::cout << "Part 1: " << first << std::endl;
Expand Down

0 comments on commit bc7f282

Please sign in to comment.