day_19

package
v0.0.0-...-07010e4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1()

func Part2

func Part2()

Types

type Instr

type Instr struct {
	Op   string
	Args []int
}

type Machine

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

func NewMachine

func NewMachine(ip int, initial [6]int, iss []Instr) *Machine

func (*Machine) Process

func (m *Machine) Process(op string, args [3]int) error

func (*Machine) Run

func (m *Machine) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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