AdventOfCode-2019/day9.cr

8 lines
175 B
Crystal
Raw Permalink Normal View History

2020-12-07 02:36:36 -08:00
require "advent"
require "./intcode_fibers.cr"
input = input(2019, 9).split(",").map &.to_i64
input, output = new_interpreter("", input)
input.send 2_i64
puts output.receive