in reply to Re^12: Divide array of integers into most similar value halves
in thread Divide array of integers into most similar value halves

S'funny? It doesn't do that for me:

c:\test>708290 -V -S=0 11 39 62 [11 62] := 73 [39] := 39 [S:0] [iters] Diff: 34

Non-optimum, but...


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."