euler/ruby/euler003.rb

6 lines
76 B
Ruby
Raw Normal View History

2014-12-05 00:50:52 +00:00
require_relative 'euler'
2014-04-25 23:59:14 +00:00
2014-12-05 00:50:52 +00:00
def solution
600851475143.prime_factors.max
2014-04-25 23:59:14 +00:00
end