Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^6: Challenge: 8 Letters, Most Words

by LanX (Saint)
on Oct 05, 2013 at 13:19 UTC ( [id://1057028]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<288> sub fac {my $x=1; $x*=$_ for 2..$_[0]; $x}
    
    ...
    
      DB<290> binom 26,8
     => 1562275
    
  2. or download this
    a bcd
     abcd
    aa cd
    aab d
    aabc
    
  3. or download this
      DB<292> length "aaaabbbcccddddeeeeffffgggghhhiiijjkkkllllmmmnnnnoooo
    +pppqrrrrssssstttuuuuvvwwwxxyyyzzzz"
     => 86
    
      DB<293> binom 86,8
     => "53060358690"
    
  4. or download this
     "aaaabbbc..." # pattern
     "1000100...." # ok      => ab...
     "1100100...." # ok      => aab...
     "1001100....  # not ok  => aab...
    
  5. or download this
    use strict;
    use warnings;
    ...
    generate(0,"");
    
    print $nsolutions;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-25 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found