Change the name of input files.

This commit is contained in:
Danila Fedorin 2018-12-02 21:40:18 -08:00
parent 5ac0c699e5
commit 735170ea73
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
changes = File.read("day1").split("\n")
changes = File.read("day1_input").split("\n")
.select { |it| !it.empty? }
.map(&.to_i)

View File

@ -1,6 +1,6 @@
require "./common.cr"
lines = File.read("day2").split("\n")
lines = File.read("day2_input").split("\n")
lines.pop
CHARS = ('a'..'z').to_a

View File

@ -1,6 +1,6 @@
require "./common.cr"
lines = File.read("day3").split("\n")
lines = File.read("day3_input").split("\n")
lines.pop
REGEX = /#([0-9]+) @ ([0-9]+),([0-9]+): ([0-9]+)x([0-9]+)/