Squares Fixed by *yuko*

#define f(x);for i:=1to 99do begin b:=b+^`^`;if^`<copy(a,i,1)then b[i*2-x..i*2+x]:=("|_|")[2-x..2+x]end
var a,b:string;i:word;begin repeat readln(a)f(0);writeln(trim(b));b:=^`f(1)until eof;write(b)end.

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

download

return to the top page