You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
advent-of-code/2019/ruby/day_05.rb

7 lines
153 B

# typed: false
require_relative "computer"
program = ARGF.read.split(?,).map(&:to_i)
computer = Computer.new(program)
computer.run(StringIO.new("5\n"))