AdventOfCode-2019/day5.cr

5 lines
138 B
Crystal
Raw Permalink Normal View History

2020-12-04 18:17:39 -08:00
require "./intcode.cr"
2020-11-30 22:16:06 -08:00
lines = File.read("day5.txt").chomp.split(",").map(&.to_i32)
2020-12-04 18:17:39 -08:00
puts run(lines.clone, [1])
puts run(lines.clone, [5])