Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: (Efficiency Golf) Triangular numbers

by blakem (Monsignor)
on May 31, 2001 at 11:28 UTC ( [id://84481]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @seen {$n,} = ();
    ....
    @seen {$o,} = ();
    
  2. or download this
    $seen{$n} = undef;
    $seen{$o} = undef;
    
  3. or download this
    @seen {$n} = ();  # note the lack of comma after $n
    ....
    @seen {$o} = ();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-24 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found