fork download
  1. a = 0
  2. (100..999).each{|x|(100..999).each{|y|
  3. z = x*y
  4. a = z if z.to_s.reverse == z.to_s && a < z
  5. }}
  6. p a
Success #stdin #stdout 0.93s 7452KB
stdin
Standard input is empty
stdout
906609