mirror of
https://github.com/Threnklyn/advent-of-code-go.git
synced 2026-06-07 20:53:30 +02:00
updated util packages
This commit is contained in:
+2
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user