Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-12-09 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.