day04

package
v0.0.0-...-6c70810 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Solve

func Solve() error

Types

type Board

type Board struct {
	Numbers  []BoardNumber `json:"boardnumbers,omitempty" yaml:"boardnumbers"`
	ByRow    [][]*Entry    `json:"byRow,omitempty" yaml:"byRow"`
	ByColumn [][]*Entry    `json:"byColumn,omitempty" yaml:"byColumn"`
}

type BoardNumber

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

type Entry

type Entry struct {
	Value   int  `yaml:"value" json:"value"`
	Crossed bool `yaml:"crossed" json:"crossed"`
}

Jump to

Keyboard shortcuts

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