Longest Palindrome by leonid

#!ruby -pl
51.times{|i|i.upto(~/$/){|j|x=$_[-j,i]
x.reverse==x&&T=x}}
$_=T

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top