1997 PMWC Problems/Problem I14
Problem
If we make five two-digit numbers using the digits exactly once, and the product of the five numbers is maximized, find the greatest number among them.
Solution
This is a greedy algorithm question. Let be the digits of the first number, etc. Without loss of generality let be the greatest number. Then we want to maximize the quantity
The greedy algorithm quickly tells us that the first digits of the numbers should be , so . Now, look at the coefficient of . The product is less than any of the other terms (which all contain the maximal ), so by the greedy algorithm, we should make as small as possible. Hence , and our answer is .
See also
{{PMWC box|year=1997|num-b=I13|num-a=I15}