Zigzag by not

x,y,d;main(k,s){for(scanf("%d%s",&d,s);y<d;k=x?(x&1?d+~y:y)*2:++y+1)printf(++x/d/2?x=0,"\n":"%*s"-!k,k,s);}

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

download

return to the top page