Piotr Czajkowski 2 anni fa
parent
commit
89840da636
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      16/code.go

+ 1 - 1
16/code.go

@@ -184,7 +184,7 @@ func calculate(moveTo []vertex, vertices []vertex, graph []path, valves map[stri
 	max := 0
 	for i := range moveTo {
 		currentCount := count + moveTo[i].cost + 1
-		if currentCount > 29 {
+		if currentCount > 30 {
 			continue
 		}