Zigzag by murky-satyr

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

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

download

return to the top page