Adrien Thurin wrote:
Awesome ! I don't think it is possible to make any simpler that that !
Except that it doesn't look for the right value when there is an even number of voters, so I woulddrop the "-1" in the index.
Shouldn't it look for the sixth element at index 5 (ORIGIN=0) when we have 12 voters?