3 ms·
why all the fuss, a solution would be just 2,4 , they didnt even get to that
by brakon 16y ago
why all the fuss, a solution would be just 2,4 , they didnt even get to that
- nicolasp 16y agoActually they did: "But three other people all said "2 and 4". That is certainly another "nice" answer, but the constraints it satisfies are more subtle. They have something to do with requiring the solution to have integer components that are distinct, but near the specified average. It's harder to state and compute the solution in MATLAB without just giving the answer."
- Vivtek 16y agoIn English, when you say you have two "somethings", they're generally considered distinct. This is one of the gotchas when translating between English and math.