Add solution for 2025 Day 9

This commit is contained in:
Thraix committed 2025-12-09 21:58:38 +01:00
1 parent a31feacf85
commit 90bbec630e
4 files changed
+160 -18

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ namespace y2021::day04
bool MarkAndCheck(Array2D<int>& board, int number)
{
Index2D index = board.Find(number);
if (index)
if (index.IsValid())
{
board[index] = -1;
// Check board is filled