for(n=~readline(x=y=0);x||--y>(x=3*n);)putstr("| +-\n"[++x?2*!(y%n)|x%n<0:4])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page