Skip to content

Commit 9d829bb

Browse files
committed
day06 remove redundant lines
1 parent 4e23a8f commit 9d829bb

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

2025/day06/part1.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,5 @@ func doPartOne(input string) int {
2727
}
2828
ans += subAns
2929
}
30-
// mapper, rect := maps.MakeImagePointMapRect(strings.Split(strings.TrimSpace(input), "\n"))
31-
32-
// ans := 0
33-
// for x := 0; x < rect.Max.X; x++ {
34-
// subAns := utils.Atoi(string(mapper[image.Point{x, 0}]))
35-
// if mapper[image.Point{x, rect.Max.Y - 1}] == '+' {
36-
// for y := 1; y < rect.Max.Y-1; y++ {
37-
// subAns += utils.Atoi(string(mapper[image.Point{x, y}]))
38-
// }
39-
// ans += subAns
40-
// continue
41-
// }
42-
// for y := 1; y < rect.Max.Y-1; y++ {
43-
// subAns *= utils.Atoi(string(mapper[image.Point{x, y}]))
44-
// }
45-
// ans += subAns
46-
// }
4730
return ans
4831
}

0 commit comments

Comments
 (0)