Box Coloring by nn

n;s[999];*p=s;main(c,d){for(;read(0,&c,1);)*p++=d=putchar(c<33?c:d>48?d:p[-50]>48?p[-50]:++n+48);}

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

download

return to the top page