Longest Palindrome by clock

#!ruby -lp
52.times{|n|$_.chars.each_cons(52-n){|s|s==s.reverse&&($><<s;$_='';break)}}

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

download

return to the top page