updated util packages

This commit is contained in:
alexchao26
2020-12-10 01:04:51 -05:00
parent b9a74cf122
commit 1fec4f74d3
47 changed files with 285 additions and 95 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import (
"strconv"
"strings"
"github.com/alexchao26/advent-of-code-go/mathutil"
"github.com/alexchao26/advent-of-code-go/util"
)
@@ -65,7 +66,7 @@ func part2(input string) int {
func parseInput(input string) int {
lines := strings.Split(input, "\n")
return util.StrToInt(lines[0])
return mathutil.StrToInt(lines[0])
}
func step(recipes []int, elf1, elf2 int) ([]int, int, int) {