Piotr Czajkowski пре 3 година
родитељ
комит
5a711be2ea
1 измењених фајлова са 0 додато и 6 уклоњено
  1. 0 6
      day23/day23.go

+ 0 - 6
day23/day23.go

@@ -98,12 +98,6 @@ func getSequence(sequence []int, min, max int) []int {
 			}
 		}
 
-		for j, _ := range sequence {
-			if j > index && j < index+4 {
-				sequence[j] = 0
-			}
-		}
-
 		destination := sequence[index] - 1
 		for {
 			if destination < min {