util

package
v0.0.0-...-7fdda02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt

func AbsInt(i int) int

func Btoi

func Btoi(s string) int64

func MaxInt

func MaxInt(i1, i2 int) int

func MinInt

func MinInt(i1, i2 int) int

func NewBoolMatrix

func NewBoolMatrix(width, height int) map[int]map[int]bool

func NumberList

func NumberList(in string, separator string) []int

func PowInt

func PowInt(x, y int) int

func ReadInput

func ReadInput(in, splitBy string) []string

func Str2Int

func Str2Int(in string) int

func WithProfiling

func WithProfiling() func()

func WithTime

func WithTime() func()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL