Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: (Efficiency Golf) Triangular numbers

by Zaxo (Archbishop)
on May 30, 2001 at 23:13 UTC ( #84351=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    There are 31 three digit triangular numbers
    There are 307 five digit triangular numbers
    ...
    SIX:    820
    TEN:    153
    Elapsed time:    0.02    0    0    0    
    
  2. or download this
    #!/usr/bin/perl -w # -*-Perl-*-
    
    ...
    }
    my @tim = times();
    print "Elapsed time:\t",join "\t", @tim,"\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-06-27 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.