Permutations by 51b

char s[];f(n,c){for(s[n-1]=32;c<54;c++)s[c]++||(s[n]=c,n>9?puts(s):f(n+2,48),s[c]=0);}main(){f(0,48);}

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

download

return to the top page