mirror of
https://github.com/onyx-and-iris/aoc2025.git
synced 2025-12-08 19:57:48 +00:00
rem map
This commit is contained in:
parent
3dbbab6fbe
commit
65499624e7
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user