Documentation
¶
Index ¶
- func Abs(v int) int
- func AtoiNoError(s string) int
- func GCD(a, b int) int
- func LCM(a, b int) int
- func Map[T any, R any](x []T, mapFunc func(T) R) []R
- func Max(x int, y int) int
- func Min(x int, y int) int
- func Normalize(x int) int
- func Pow(x, y int) int
- func ReadProblemInput(fileCollection embed.FS) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtoiNoError ¶
AtoiNoError calls `strconv.Atoi`, but assumes input `s` is a valid integer
func ReadProblemInput ¶
ReadProblemInput reads and returns data from the file named "input.txt" from the `fileCollection`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.