From 14996b6e7510b916358f8b4a033ca4b607e1a785 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Fri, 25 Dec 2015 12:21:53 -0800 Subject: [PATCH] Day 23.1 --- ruby/day_23.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ruby/day_23.rb b/ruby/day_23.rb index 9330ebf..b2c523c 100644 --- a/ruby/day_23.rb +++ b/ruby/day_23.rb @@ -31,6 +31,7 @@ end instructions = DATA.read.split("\n").map {|line| line.split(/,? /) } c = Computer.new(instructions) +c.registers[?a] = 1 c.run! p c.registers