Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Eily (Monsignor)
on Sep 18, 2020 at 09:43 UTC ( #11121908=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub Eily_LanX {
        my ($length, $ones) = @_;
    ...
        }
        return \@r
    }
    
  2. or download this
                  Rate salva tybalt89_re choroba tybalt89 Eily GrandFather
    + Eily_LanX
    salva        795/s    --        -10%    -57%     -59% -62%        -84%
    +      -85%
    tybalt89_re  879/s   11%          --    -52%     -54% -59%        -82%
    +      -83%
    ...
    Eily        2120/s  167%        141%     15%      11%   --        -57%
    +      -59%
    GrandFather 4960/s  524%        464%    169%     159% 134%          --
    +       -4%
    Eily_LanX   5154/s  548%        486%    180%     169% 143%          4%
    +        --
    

Log In?
Username:
Password:

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

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

    No recent polls found

    Notices?