filmov
tv
Advent of code 2024: day 3
Показать описание
We analyzed corrupted memory data to extract and process valid multiplication instructions using Golang. In Part 1, we leveraged regex with subgroup matching to extract mul(X,Y) operations, calculated their results, and summed them to achieve 174,103,751. In Part 2, we refined the input by removing data between don't() and the next do() blocks, leaving only valid instructions. This approach produced a final sum of 100,411,201, successfully completing the task and earning two gold stars!
00:00 pregame
17:13 part 1
32:23 part 2
50:45 review
00:00 pregame
17:13 part 1
32:23 part 2
50:45 review