3 ms·
I tried random search, trying random prices and calculating the number of chickens that each buyer would need to sell to meet $35. The result that is closest to
by Houshalter 12y ago
I tried random search, trying random prices and calculating the number of chickens that each buyer would need to sell to meet $35. The result that is closest to an integer for every seller and meets the other constraints:
before: $3.75, after: 1.25
code: http://pastebin.com/gLtg2P9d http://pastebin.com/gLtg2P9d