Diamond Knockout by I., S.

L,C,B,d;main(S){for(L-=S=getchar()%16;++L<S;)for(C=-S;C++<S;putchar(B?3<d?45+d:d<2?48+B:32:10))d=(B=S-abs(C))-abs(L);}

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

download

return to the top page