Ver Fonte

Stupid mistake, solved part1

Piotr Czajkowski há 1 semana atrás
pai
commit
bae92527f1
2 ficheiros alterados com 147 adições e 5 exclusões
  1. 7 5
      12/code.go
  2. 140 0
      12/input

+ 7 - 5
12/code.go

@@ -74,13 +74,15 @@ func getRegion(start Point, matrix [][]byte, xMax, yMax int, checked map[string]
 		current := plots[0]
 		plots = plots[1:]
 
-		if !checked[current.key()] {
-			if current.fences == 0 {
-				current.fences = countFences(current, matrix, xMax, yMax)
-			}
-			region[current.key()] = current
+		if checked[current.key()] {
+			continue
+		}
+
+		if current.fences == 0 {
+			current.fences = countFences(current, matrix, xMax, yMax)
 		}
 
+		region[current.key()] = current
 		checked[current.key()] = true
 
 		newPlots := getPlots(current, matrix, xMax, yMax)

+ 140 - 0
12/input

@@ -0,0 +1,140 @@
+RRRRRRRRRRRRRRRRKKKKKKKKRRRRRRRRRRRRRRRRRRRROOPOOOOOOOOGOOONYYYYYYEDDDDDDDDDDDLLLLLLLLOOOOOOOOOOOOOOOXVVXHHHHHHHHHHLLLLLLLLLLLLLLJJJJJJJJJJC
+RRRRRRRRRRRRRRRRKKKKKKKKKRRRRRRRRRRRRRRRRRRRROOOOOOOOOOOOOOYXYYYYKEDDDDDDDIIIDLLLLLLLLLLOOOOOOOOOOOOOXXXXHHHHHHHLLLLLLLLLLLLLLLLJJJJJJJJJJJC
+RRRRRRRRRRRRRRKKKKKKKKKKRRRRRRRRRRRRRRRRRRRRROOOOOOOOOOOOOOYYYYYYKEDDDDDDDDDILLLLLLLLLLLOOOOOOOOOOOOOOXXXXXXXHHHHHLLLLLLLLLLLLLJJJJJJJJJJJJC
+RRRRRRRRRRRRKKKKKKKKKKKKKRRRRRRRRRRRRRRRRRRRROOOOOOOOOOOOOOOOYYYYKDDDDDDDDDDIILLLLLLLLLLOOOOOOOOOOOOOOXXXXXXXHHHHHLLLLLLLLLLLLLLJJJJJJJJJJJC
+RRRRRRRRRRRRKKKKKKKKKKKKKERREREERRRRRMMMRRRROOOOO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