|
32.PS:版本一:有个integer的集合,已知range=56, 最小的数和median的差是6,average比median大,问这个集合最多有几个数?(我觉得这道题只有求最多才可解,可脑子里总有at least这个词。有可能记错) A)13,B)15, C)17, D)19, E)21 版本二:Several items are purchased, each priced individually. (注意此处貌似没有说价格不可以重复). The range is $56, and the median is $50(此处忘了,反正是50几) higher than the lowest priced. The average price is higher than the median. What is the fewest number of the items? (十分确定是问最小可能是几) hang13:根据题干可以设共有X个数,而且x=2y+1,答案给的都是单数,就不考虑偶数了。 最佳分布情况是 1 y y 0 50 56 1个0,y个50,y个56 由于均值大于median,所以(56y+50y)/(2y+1)>50,y>8.3,取y=9,x=19 这还只是一个特殊情况,如果最小值取1的话,(1+51y+57y)/(2y+1)>50,推出y=7,x=15
为什么最佳分布情况是这样的啊?求教1
|