![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
That's a very nice algorythm, but it's a bit slow, and 2 questions:
1. how can i work with (much)more that 32 1's+0's ? 2. why do i need $max to be 2**$n ? when combs(2,3) gives 10 reasults not 32 ??? i need this sub{} to play with the strings that contain that number of 1's and 0's, not the numbers that contain them. In reply to Re^4: One Zero variants_without_repetition
by thenetfreaker
|
|