aoc_omni/ruby/2025/6/bin/problem

7 lines
221 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env ruby
2025-12-06 06:16:20 -05:00
require "cephalopod_math"
2025-12-06 06:16:20 -05:00
cephalopod_math = CephalopodMath.for STDIN.read.chomp
2025-12-06 06:51:04 -05:00
puts "Part 1: #{cephalopod_math.wide_problem_answers.sum}"
puts "Part 2: #{cephalopod_math.narrow_problem_answers.sum}"