aoc_omni/ruby/2017/15/bin/problem

8 lines
185 B
Plaintext
Raw Normal View History

2025-12-04 07:01:08 -05:00
#!/usr/bin/env ruby
2025-12-05 19:55:02 -05:00
require "dueling_generator"
2025-12-04 07:01:08 -05:00
2025-12-05 19:55:02 -05:00
gg = DuelingGenerator::GeneratorPair.for STDIN.read.chomp
2025-12-04 07:01:08 -05:00
2025-12-05 19:55:02 -05:00
puts "Part 1: #{gg.loose_pair_count}"
puts "Part 2: #{gg.strict_pair_count}"