News for hackers. Stuff that matters.
Re:How to pick a random number from 1-10 by firebatpi on Saturday June 29, 2019 @11:10PM (#20316109)
There's no need to solve the distribution balancing problem with linear programming. You can just use a greedy algorithm where you repeatedly give probability mass from numbers with more than 10% to numbers with less.

There are no comments on this comment yet.