Diamond Knockout by Shmiddty

for(i=n=+readline(A=Math.abs);--i+n;print())for(j=n;--j+n;putstr(k<2?n-A(j):k>3?k-3:' '))k=n-A(i)-A(j)

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

download

return to the top page