Longest Palindrome by uru

#!ruby -pl
u,r=51
$_.chars.each_cons(u-=1){|_|_==_.reverse&&r||=_}until r
$_=r

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

download

return to the top page