1
0
Fork 0
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:
Knut Ahlers 2019-12-15 16:22:13 +01:00
parent 21d19eb3f1
commit 46cb255359
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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