From 65499624e7de6c15202f8920e9e1544fec5a4f9e Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 8 Dec 2025 03:44:28 +0000 Subject: [PATCH] rem map --- day_07/1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day_07/1.rb b/day_07/1.rb index 079d668..fd1e180 100755 --- a/day_07/1.rb +++ b/day_07/1.rb @@ -5,7 +5,7 @@ require_relative "graph" class Main def run - input = $stdin.readlines.map(&:chomp) + input = $stdin.readlines(chomp: true) graph = Graph.new(input) total = dfs(graph.start, graph, 0, Set.new)