n,f,i,j,c;main(){scanf("%d",&n);for(f=n*n*2+n;f--;){c=i-j?32:92;i+j+1==2*n&&i<n&&(c=47);putchar(c);i++;c==92&&putchar(10)&&++j&&(i=0);}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page