Five integers between 10 and 99, inclusive, are to be formed by using each of the ten digits exactly once in such a way that the sum of the five integers is as small as possible.What is the greatest possible integer that could be among these five numbers?
98
91
59
50
37
题干:Five integers between 10 and 99, inclusive, are to be formed by using each of the ten digits exactly once in such a way that the sum of the five integers is as small as possible.
这句话很难懂, 实际意思,五个整数,10-99之间,每个整数形成是通过(0-9)中随机取两个做十位和个位。然后问在五个整数加总和最小的情况下,哪个整数最大。
其实换个思路,五个整数,一定是五个数字做十位,五个数字做个位,那么取最小的五个数字做十位(因为范围是10-99, 所以排除0),不管怎么排列一定是总和最小
十位:1-5;个位:0,6-9。总和180.
取最大的十位和个位,可以组成59这个最大的整数
登录 或 注册 后可以参加讨论