Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Lights out puzzle (perl solution)

by ambrus (Abbot)
on Nov 28, 2011 at 21:41 UTC ( #940475=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.014; use warnings;
    our($R, $C, $M) = (14, 14, 7);
    ...
    }
    say "done searching (R=$R, C=$C, M=$M).";
    __END__
    
  2. or download this
    Found solution: [
     . P . P . . . P . P . . . .
    ...
     . . . P P . .              
    ]
    done searching (R=14, C=14, M=7).
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2016-02-08 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (268 votes), past polls