function f(n,s)q=#s<8 or print(s),n<1 or f(n-1,s..1),#s>7-n or f(n,s..0)end for i=0,8 do f(i,"")end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page