13 lines
145 B
Ruby
13 lines
145 B
Ruby
i = 0
|
|
while (true)
|
|
i = i + 20
|
|
div = 19
|
|
|
|
while((i % div) == 0)
|
|
div = div - 1
|
|
if(div == 0) then
|
|
puts i
|
|
exit
|
|
end
|
|
end
|
|
end |