diff --git a/day_07.rb b/day_07.rb index edab2d6..efc3208 100644 --- a/day_07.rb +++ b/day_07.rb @@ -37,6 +37,8 @@ DATA.read.scan(/(.+) -> (.+)/) do |input, output| BINDING[output] = Expr.new(op, inputs, output) end +BINDING["b"] = Expr.new(nil, ["3176"], "b") + puts BINDING["a"].reduced __END__