internal

package
v0.0.0-...-940af62 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

func Day1

func Day1() (int, int)

func Day10

func Day10() (int, int)

func Day11

func Day11() (int, int)

func Day12

func Day12() (int, int)

func Day13

func Day13() (int, int)

func Day14

func Day14() (int, int)

func Day2

func Day2() (int, int)

func Day3

func Day3() (int, int)

func Day4

func Day4() (int, int)

func Day5

func Day5() (int, int)

func Day6

func Day6() (int, int)

func Day7

func Day7() (int, int)

func Day8

func Day8() (int, int)

func Day9

func Day9() (int, int)

func Lines

func Lines(fileName string) []string

Types

type Button

type Button struct {
	X, Y int
	// contains filtered or unexported fields
}

type Cell

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

func (*Cell) String

func (c *Cell) String() string

type ClawMachine

type ClawMachine struct {
	A, B Button
	// contains filtered or unexported fields
}

type GridContent

type GridContent byte

type GuardState

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

type Operator

type Operator string

type Orientation

type Orientation int

type Position

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

type Prize

type Prize struct {
	X, Y int
}

type Queue

type Queue[T any] interface {
	Append(v T)
	PopFront() T
	Len() int
}

type QueueImpl

type QueueImpl[T any] struct {
	// contains filtered or unexported fields
}

Queue implementation

func (*QueueImpl[T]) Append

func (q *QueueImpl[T]) Append(v T)

func (*QueueImpl[T]) Len

func (q *QueueImpl[T]) Len() int

func (*QueueImpl[T]) PopFront

func (q *QueueImpl[T]) PopFront() T

type Robot

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

func (Robot) String

func (robot Robot) String() string

Jump to

Keyboard shortcuts

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