Browse Source

Needs work

Piotr Czajkowski 1 year ago
parent
commit
89840da636
1 changed files with 1 additions and 1 deletions
  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
 		}