Pathologically Eclectic Rubbish Lister | |
PerlMonks |
(Ovid) Re: Finding sum of all digits from 1 to 1 million.by Ovid (Cardinal) |
on Jan 24, 2002 at 00:07 UTC ( [id://141008]=note: print w/replies, xml ) | Need Help?? |
Update: Whoops! :) Here's a brute force solution:
Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In Section
Seekers of Perl Wisdom
|
|