aoc_omni/ruby/2025/6/bin/problem
2025-12-06 06:51:04 -05:00

7 lines
221 B
Ruby

#!/usr/bin/env ruby
require "cephalopod_math"
cephalopod_math = CephalopodMath.for STDIN.read.chomp
puts "Part 1: #{cephalopod_math.wide_problem_answers.sum}"
puts "Part 2: #{cephalopod_math.narrow_problem_answers.sum}"