We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e23a8f commit 9d829bbCopy full SHA for 9d829bb
2025/day06/part1.go
@@ -27,22 +27,5 @@ func doPartOne(input string) int {
27
}
28
ans += subAns
29
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
43
- // subAns *= utils.Atoi(string(mapper[image.Point{x, y}]))
44
45
46
47
return ans
48
0 commit comments