An interesting problem

Paul Orrock paulo at digitalcraftsmen.net
Wed Jan 3 15:10:33 GMT 2007


McGlinchy, Alistair wrote:
> Paul Orrock wrote:
> 
> Just a question of clarification
> 
>> What I  need to find is which range yields the highest positive
> result. 
> 
> When you say positive, do you just mean the highest result, or are all
> negative values ignored?

Sorry, I forgot to include the -1 in my addition. Negative values do 
count and should be included in the total. So although the sum is 15 it 
is still the range with the highest value.

regards,

Paul



More information about the london.pm mailing list