Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by choroba (Cardinal)
on Sep 18, 2020 at 09:22 UTC ( #11121907=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        johngg      => sub { johngg(10, 3) },
        Tux         => sub { Tux(10, 3) },
    });
    
  2. or download this
                      Rate Discipulus tybalt89_re choroba   Tux johngg  Ei
    +ly tybalt89 Eily_LanX GrandFather salva tybalt2
    Discipulus  9.54e-02/s         --       -100%   -100% -100%  -100% -10
    +0%    -100%     -100%       -100% -100%   -100%
    ...
    GrandFather     5547/s   5813004%        320%    312%  124%   105%  10
    +4%      77%       23%          --  -10%    -18%
    salva           6179/s   6475626%        368%    359%  150%   128%  12
    +8%      97%       37%         11%    --     -9%
    tybalt2         6763/s   7088014%        412%    402%  174%   150%  14
    +9%     116%       50%         22%    9%      --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-12-09 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?