Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 surveying the Monastery: (5)
As of 2015-07-29 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls