day17

package
v0.0.0-...-acf6961 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseInput

func ParseInput(in string) ([2]int, [2]int, error)

func Part1

func Part1(xRange, yRange [2]int) int

func Part2

func Part2(xRange, yRange [2]int) int

Types

type Probe

type Probe struct {
	Pos, Vel advent2021.XY
}

func (*Probe) Step

func (p *Probe) Step()

Jump to

Keyboard shortcuts

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