h,i,j;main(w){for(scanf("%d%d",&w,&h);!j--?j=w+3,i++<h+2:putchar(j?" |-+"[(i%~h==1)*2|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