day13

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 Pattern

type Pattern struct {
	Rows    []int64
	RowSize int
	Cols    []int64
	ColSize int
}

func (*Pattern) Summarise

func (p *Pattern) Summarise() int

func (*Pattern) SummariseSmudge

func (p *Pattern) SummariseSmudge() int

type Patterns

type Patterns []Pattern

func Parse

func Parse(s string) Patterns

func (Patterns) Summarise

func (ps Patterns) Summarise() int

func (Patterns) SummariseSmudge

func (ps Patterns) SummariseSmudge() int

Jump to

Keyboard shortcuts

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