a=*?# a=('1 '..$_).flat_map{gets a.map{|s|$_.scan(/./).map{|c|s.tr ?#,c}*''}}while gets>?1 puts a
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page