From: "David G. Andersen" Date: 2004-11-17T00:59:44+09:00 Subject: Re: [SOLUTION] Countdown (#7) On Wed, Nov 17, 2004 at 12:48:18AM +0900, Dennis Ranke scribed: > The second one is the one that allows your solution to finish this > fast.. ;) In your fs function you have two loops using the variables i > and j. Inside the inner loop you sort i and j by source[i] and > source[j]. Then in the next iteration of the inner loop you are still > using the changed i, which is of course wrong. This can be resolved by > using a copy of i in the inner loop. Thanks - I corrected them yesterday bu got distracted trying to gain back the lost speed. :-) I'll poke at it a bit more in my spare time. When I find some spare time, that is. Eek. -dave