Diamond Matrix by Shmiddty

for(i=n=+readline();--i+n;print(s))for(j=n;j;s=j--^n?k>0?k+s+k:" "+s:k+"")k=i<0?j+i:j-i

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

download

return to the top page