Squares Round 2 by nn

for(c=i=2;p=c;print(/.*\S|$/(s)))for(j in++i%2?c=readline():0,s='',p+c)s+=(/\./(p[j-1]+p[j])?'|':' ')+(i%2&&/\./(p[j]+(c+j)[j])?'___':'   ')

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

download

return to the top page