6 ms·
In 2010, after reading an article similar to this one (but lighter on the maths), I wrote a Perl script to calculate what would be the best combination of 4, 5
by forinti 9y ago
In 2010, after reading an article similar to this one (but lighter on the maths), I wrote a Perl script to calculate what would be the best combination of 4, 5, or 6 coins.
I did not look into the actual distribution of prices and just supposed that every value was equally probable.
http://alquerubim.blogspot.com.br/2010/09/otimizando-niqueleira.html http://alquerubim.blogspot.com.br/2010/09/otimizando-niquele...
http://alquerubim.blogspot.com.br/2010/09/otimizando-niqueleira-ii.html http://alquerubim.blogspot.com.br/2010/09/otimizando-niquele...