hexagon 2nd fixed by nn

for(n=3*readline(i=0);(i+=3)<4*n;print(o))for(o=j='';j++<Math.min(n,i-1,4*n-i)+n-2;)o+='_/  \\_'[j<Math.max(n-i+2,i-3*n)?2:(i+j)%6]

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

download

return to the top page