# Gareth Harding

less info
reputation
4
bio website location age member for 1 year, 8 months seen Nov 11 '13 at 11:37 profile views 7

# 18 Actions

 Aug14 asked Work out an approximate lat/lng translation by a mileage distance Oct22 comment Put N items into M groups such that the sums of the N's in every M are as even as possible Thank you very much for this insight. Oct22 accepted Put N items into M groups such that the sums of the N's in every M are as even as possible Oct19 awarded Editor Oct19 revised Put N items into M groups such that the sums of the N's in every M are as even as possible clarification Oct19 comment Put N items into M groups such that the sums of the N's in every M are as even as possible @ThomasAndrews as evenly as possible was the best way I could think of, each M can't always be equal, so I'm trying to find the solution that has the least difference between sets of M Oct19 comment Put N items into M groups such that the sums of the N's in every M are as even as possible @ThomasAndrews apologies for any ambiguity. S = {6, 3, 5, 2, 7, 11, 2} refers an array holding 7 sub arrays, of which the count of the first array is 6, 3 the second. So by saying the sum of all N's in each group, I mean the total of a sub-collection of S, e.g. S[0] + S[1] = 9. Im just trying to split them into M even columns if that makes sense. Oct19 asked Put N items into M groups such that the sums of the N's in every M are as even as possible Oct19 accepted Name of a set that allows repetition Oct19 awarded Student Oct19 comment Name of a set that allows repetition Thank you for your help. Oct19 asked Name of a set that allows repetition Sep20 awarded Scholar Sep20 accepted Divide N items into M groups with as near equal size as possible Sep20 comment Divide N items into M groups with as near equal size as possible Thanks, was thinking along the lines of this. Think I was going for something like set all to n/m, then a for loop, 1 to (n Mod m) adding one. Sep20 awarded Supporter Sep20 comment Divide N items into M groups with as near equal size as possible Ah yes, its flooding back to me now. cheers Sep20 asked Divide N items into M groups with as near equal size as possible