Zigzag by nn

[n,s,c]=readline(i=-1)
for(m=2*--n;j=i++<n;print(o))for(o='';j--+n*m+i;)o+=m-i+j%m&&i+j%m?s:c

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

download

return to the top page