8 lines
175 B
Crystal
8 lines
175 B
Crystal
|
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
|