Box Coloring by nn

s=''
i=n=0
"$System.in".each{d=i?s[i-1]:0
e=++i>50?s[i-51]:0
s+=it-'#'?:d>' '?d:e>' '?e:++n}
print s

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

download

return to the top page