ASCII Stars by hinoe

main(y,x,n){for(y-=x=n=atoi(gets());y<n;)putchar(abs(--x)+abs(y)<n?42:x<0?++y,x=n,10:32);}

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

download

return to the top page