Intcode Processor Work
This commit is contained in:
@@ -14,6 +14,6 @@ func NewProgram(prog []int) *Program {
|
||||
return p
|
||||
}
|
||||
|
||||
func (p *Program) PrintCode() {
|
||||
fmt.Println(code)
|
||||
func (p *Program) CodeString() string {
|
||||
return fmt.Sprintf("%v", p.code)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user