euler/ruby/euler003.rb

6 lines
76 B
Ruby

require_relative 'euler'
def solution
600851475143.prime_factors.max
end