day 4 puzzle 2

This commit is contained in:
2024-12-04 09:49:16 +01:00
parent 65beed1c51
commit 7bcab0b085
5 changed files with 35 additions and 2 deletions

View File

@@ -40,7 +40,7 @@
let total = 0
for y in range(h) {
for x in range(h) {
for x in range(w) {
if lines.at(y).at(x) == "X" {
total += check-xmas(lines, x, y)
}