Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Lights out puzzle (perl solution)

by ambrus (Abbot)
on Nov 28, 2011 at 21:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://940475]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found