Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Spiraling integers (explained)

by tye (Sage)
on Sep 03, 2005 at 06:38 UTC ( #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
Node Status?
node history
Node Type: note [id://488867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2019-02-16 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (95 votes). Check out past polls.

    Notices?