Update code to use advent lib.
parent
e9d0701b4c
commit
479b1d745e
@ -0,0 +1,2 @@
|
||||
i=File.read_lines("day5.txt").map &.tr("FBLR", "0101").to_i32(2);
|
||||
puts({i.max,(i.min..i.max).select{|n|!i.includes? n}})
|
Loading…
Reference in New Issue