Change the name of input files.
This commit is contained in:
parent
5ac0c699e5
commit
735170ea73
2
day1.cr
2
day1.cr
@ -1,4 +1,4 @@
|
|||||||
changes = File.read("day1").split("\n")
|
changes = File.read("day1_input").split("\n")
|
||||||
.select { |it| !it.empty? }
|
.select { |it| !it.empty? }
|
||||||
.map(&.to_i)
|
.map(&.to_i)
|
||||||
|
|
||||||
|
2
day2.cr
2
day2.cr
@ -1,6 +1,6 @@
|
|||||||
require "./common.cr"
|
require "./common.cr"
|
||||||
|
|
||||||
lines = File.read("day2").split("\n")
|
lines = File.read("day2_input").split("\n")
|
||||||
lines.pop
|
lines.pop
|
||||||
|
|
||||||
CHARS = ('a'..'z').to_a
|
CHARS = ('a'..'z').to_a
|
||||||
|
Loading…
Reference in New Issue
Block a user