day05

package
v0.0.0-...-9c9a4a3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map []Range

func (Map) Convert

func (m Map) Convert(input int64) int64

type Maps

type Maps []Map

func ParseLines

func ParseLines(s string) ([]int64, Maps)

func (Maps) GetLocation

func (ms Maps) GetLocation(seed int64) int64

type Range

type Range struct {
	Dest   int64
	Source int64
	Range  int64
}

Jump to

Keyboard shortcuts

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