no need to current point value

This commit is contained in:
onyx-and-iris 2025-12-08 03:36:07 +00:00
parent 3db1c4c372
commit 3dbbab6fbe

View File

@ -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