Skip to content

Commit 79e763b

Browse files
committed
Remove debug logging
1 parent 0d4710b commit 79e763b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

day04/src/day04.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ bool has_xmas_at(struct Grid grid, int i, int j, int di, int dj) {
2323
int ni = i + k * di;
2424
int nj = j + k * dj;
2525
if (!in_bounds(grid, ni, nj) || grid.data[ni][nj] != XMAS[k]) {
26-
if (k > 0 && in_bounds(grid, ni, nj)) {
27-
printf("Failed at %d, %d -> %d, %d (%c != %c)\n", i, j, ni, nj, grid.data[ni][nj], XMAS[k]);
28-
}
2926
return false;
3027
}
3128
}

0 commit comments

Comments
 (0)