for(n=readline(i=-1);++i<1<<n;print(o))for(o='',j=n;j--;)o+='.#'[i>>j&1]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page