my-solutions/advent-of-code/2024/day_06/main.rb

8 lines
148 B
Ruby

require_relative 'lib'
matrix = File.readlines("input.txt", chomp: true)
x = walk(matrix)
puts(x)
x = count_possible_obstructions(matrix)
puts(x)