Diamond Knockout by padde

y=$<.r.toi\x0d
n=[*1..y].j\x0d
o=y.ti.m{|x|v=n[0,y-x].lj y,'  '+n\x0d
v+v[0..-2].rv}\x0d
s o+o[0..-2].rv

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

download

return to the top page