Diamond Matrix by copy

for(a=i=+readline();--i+a;print(s))for(j=a;j;s=j--^a?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