day_15

package
v0.0.0-...-0235693 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanPassAny

func CanPassAny(discs *[]*Disc) bool

func DropTime

func DropTime(discs []*Disc) int

func Part1

func Part1()

func Part2

func Part2()

Types

type Disc

type Disc struct {
	// contains filtered or unexported fields
}

func Setup

func Setup() []*Disc

func (*Disc) CanPass

func (d *Disc) CanPass() bool

func (*Disc) CanPassIn

func (d *Disc) CanPassIn(steps int) bool

func (*Disc) Move

func (d *Disc) Move(steps int)

func (*Disc) MoveOne

func (d *Disc) MoveOne()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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