Add solution for 2025 Day 9

This commit is contained in:
Thraix
2025-12-09 08:01:49 +01:00
parent a31feacf85
commit 90bbec630e
4 changed files with 160 additions and 18 deletions
+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