Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Lights out puzzle (non-perl solution)

by ambrus (Abbot)
on Nov 29, 2011 at 14:38 UTC ( #940636=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # lights out, see http://www.perlmonks.com/?node_id=940327
    
    ...
    # try this for example:
    #lightout(14, 14, 7);
    
  2. or download this
    gap> lightout(14, 14, 7);
    Found a solution for (R=14, C=14, M=7)
    ...
     1 1 . 1 1 . 1 . . 1 . . 1 1
     . . . 1 1 . .
    gap> 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-12-26 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls