Documentation
¶
Index ¶
- func ComputeSolutionOne(data []byte) string
- func ComputeSolutionTwo(data []byte) int64
- func PrintProgram(prg []int8) string
- func PrintProgramCommaless(prg []int8) string
- type Computer
- func (cmp *Computer) Adv(op int8)
- func (cmp *Computer) Bdv(op int8)
- func (cmp *Computer) Bst(op int8)
- func (cmp *Computer) Bxc(_ int8)
- func (cmp *Computer) Bxl(op int8)
- func (cmp *Computer) Cdv(op int8)
- func (cmp *Computer) CloneComputer() Computer
- func (cmp *Computer) ComboOp(op int8) int64
- func (cmp *Computer) Jnz(op int8)
- func (cmp *Computer) Out(op int8)
- func (cmp *Computer) PrintOutput() string
- func (cmp *Computer) PrintOutputCommaless() string
- func (cmp *Computer) RunProgram(prg []int8) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSolutionOne ¶
func ComputeSolutionTwo ¶
func PrintProgram ¶
func PrintProgramCommaless ¶
Types ¶
type Computer ¶
func ParseInput ¶
func (*Computer) CloneComputer ¶
func (*Computer) PrintOutput ¶
func (*Computer) PrintOutputCommaless ¶
func (*Computer) RunProgram ¶
Click to show internal directories.
Click to hide internal directories.