Permutations by not

s[];f(p,m,b)char*p;{for(m?p[-1]=*p=32:puts(s);b=8<<++*p;)b&m&&f(p+2,b^m);}main(){f(s,63<<19);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page