Documentation
¶
Index ¶
- func Abs[T Ordinary](v T) T
- func Contains[T any](slice []T, equal func(value T) bool) bool
- func CountBits[T Ordinary](value T) int
- func Max[T Ordinary](a, b T) T
- func Min[T Ordinary](a, b T) T
- func Must(err error)
- func ParseInts(str string) []int
- func ReadAllInput() []string
- func ReadAllInputFromFile(name string) []string
- func StrToInt(str string) int
- type Heap
- type Ordinary
- type Vector2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAllInput ¶
func ReadAllInput() []string
func ReadAllInputFromFile ¶
Types ¶
type Vector2 ¶
func NewVector2 ¶
func (Vector2) ManhattanDst ¶
func (Vector2) RotateLeft ¶
func (Vector2) RotateRight ¶
Click to show internal directories.
Click to hide internal directories.