mirror of
https://github.com/Luzifer/aoc2019.git
synced 2024-12-22 05:51:16 +00:00
Remove debug code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
21d19eb3f1
commit
46cb255359
1 changed files with 0 additions and 3 deletions
3
day14.go
3
day14.go
|
@ -3,7 +3,6 @@ package aoc2019
|
|||
import (
|
||||
"bufio"
|
||||
"io"
|
||||
"log"
|
||||
"math"
|
||||
"os"
|
||||
"strconv"
|
||||
|
@ -137,8 +136,6 @@ func solveDay14Part2(inFile string) (int64, error) {
|
|||
oreUsed = factory.calculateOreForFuel(test)
|
||||
)
|
||||
|
||||
log.Printf("limit=%d used=%d min=%d max=%d test=%d", limit, oreUsed, minBound, maxBound, test)
|
||||
|
||||
switch {
|
||||
case minBound+1 == maxBound && oreUsed < limit:
|
||||
return test, nil
|
||||
|
|
Loading…
Reference in a new issue