mirror of
https://github.com/onyx-and-iris/aoc2025.git
synced 2026-04-09 03:23:37 +00:00
no need to current point value
This commit is contained in:
@@ -17,9 +17,7 @@ class Main
|
||||
def process_graph(graph, counts)
|
||||
graph.each_with_index do |line, y|
|
||||
line.each_with_index do |char, x|
|
||||
current = Point.new(x, y)
|
||||
|
||||
next unless graph.at(current) == "^"
|
||||
next unless char == "^"
|
||||
|
||||
distribute_counts(x, y, counts)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user