scratchcards

package
v0.0.0-...-e31e380 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Files embed.FS

Functions

This section is empty.

Types

type Solution

type Solution struct {
	Tickets []Ticket
}

func (Solution) Files

func (s Solution) Files() embed.FS

func (*Solution) Parse

func (s *Solution) Parse(r io.Reader) (err error)

func (Solution) Part1

func (s Solution) Part1(w io.Writer) (err error)

func (Solution) Part2

func (s Solution) Part2(w io.Writer) (err error)

type Ticket

type Ticket struct {
	Revealed []int
	Winning  []int
}

Jump to

Keyboard shortcuts

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