in reply to Re^2: Challenge: Sorting Sums Of Sorted Series
in thread Challenge: Sorting Sums Of Sorted Series
Your code needs some TLC and your for (0 .. $#list) should probably be for (;;) loops.
Why? Do you believe the list gets flattened? No, for (EXPR..EXPR) is implemented as a counting loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Challenge: Sorting Sums Of Sorted Series
by Limbic~Region (Chancellor) on Feb 03, 2010 at 21:50 UTC | |
by ikegami (Patriarch) on Feb 03, 2010 at 22:18 UTC |