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

Re^2: Spiraling integers (explained)

by tye (Sage)
on Sep 03, 2005 at 06:38 UTC ( [id://488867]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      0  0  0  0 -1
      0  0  0  0
      0  0  0  0 -1
      0  0  0  0
              -1
    
  2. or download this
      1  2  3  4*-1
      0  0  0  5
    ...
      0  0  0  7
               *
              -1
    
  3. or download this
      1  2  3  4 -1
      0  0  0  5  x
      0  0  0  6 -1
      0  0  0  7  x
      x  x  x -1...
    
  4. or download this
      1  2  3  4 -1
      *
    ...
     11  0  0  6 -1>
    <10  9  8  7  x
      x  x  x -1...
    
  5. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            printf " %".length($v)."d", $_;
        }
    }
    
  6. or download this
    my @s= ( ( (0)x$n, -1 )x$n, (-1)x$n, -1 );
    
  7. or download this
      0  0  0  0 -1
      0  0  0  0 -1
      0  0  0  0 -1
      0  0  0  0 -1
     -1 -1 -1 -1 -1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found