Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 143 Bytes
results = []
2.upto(100) do |first|
2.upto(100) do |second|
results << first**second << second**first
end
end
puts results.uniq.length
Something went wrong with that request. Please try again.