exercises

package
v0.0.0-...-41fa42d Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MaxDistance = 999999

Variables

This section is empty.

Functions

This section is empty.

Types

type Exercise

type Exercise struct {
	common.BaseExercise
}

Exercise for Advent of Code 2022 day 16.

func (Exercise) One

func (e Exercise) One(instr string) (any, error)

One returns the answer to the first part of the exercise. wrong: 1575 (too low) wrong: 1566 (too low) wrong: 1589 (too low) answer: 1647

func (Exercise) Two

func (e Exercise) Two(instr string) (any, error)

Two returns the answer to the second part of the exercise. answer:

func (Exercise) Vis

func (e Exercise) Vis(instr string, outdir string) error

Vis is the visualization of the exercise.

type Sequence

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

Jump to

Keyboard shortcuts

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