Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Generate all unique combinations of 1 and 0 using specified length of "0"-string and count of 1's [Updated]

by salva (Canon)
on Sep 18, 2020 at 10:41 UTC ( #11121913=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                  Rate salva1 tybalt89_re choroba Eily tybalt89 GrandFathe
    +r salva2 salva0
    salva1      1085/s     --        -27%    -28% -63%     -64%        -81
    +%   -82%   -82%
    ...
    GrandFather 5771/s   432%        287%    285%  97%      90%          -
    +-    -4%    -5%
    salva2      6036/s   456%        305%    302% 106%      99%          5
    +%     --    -1%
    salva0      6084/s   461%        308%    305% 107%     100%          5
    +%     1%     --
    
  2. or download this
    my %cache;
    
    ...
        }
      }
    }
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        tybalt89_re => sub { tybalt89_re($len, $ones) },
    });
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11121913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-12-09 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?