No such thing as a small change | |
PerlMonks |
Re^2: Largest Sum of Consecutive Integersby OverlordQ (Hermit) |
on Sep 01, 2006 at 12:19 UTC ( [id://570761]=note: print w/replies, xml ) | Need Help?? |
That's pretty close to what I was thinking, except I couldn't figure out how to get rid of that inside for loop since I missed the obvious way of getting the sum like in your example.
In Section
Seekers of Perl Wisdom
|
|