Daily bit(e) of C++ #344, Advent of Code using Modern C++: Day 11.
In my solution i just get the indices of all the Galaxys and increment them by the growth rate. Then i calculate the differences for each pair. I guess there are better solutions but it worked out :).
https://github.com/KevDi/AoC2023/tree/main/day11
In my solution i just get the indices of all the Galaxys and increment them by the growth rate. Then i calculate the differences for each pair. I guess there are better solutions but it worked out :).
https://github.com/KevDi/AoC2023/tree/main/day11