h,w,j;main(i){for(scanf("%d%d",&w,&h);!j--?j=w+3,i---~h:putchar(j?(i%~h?" |":"-+")[j%~w==1]:10););}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page