ChaseDream

标题: 求大神们解救 [打印本页]

作者: 懵逼状态的我    时间: 2018-9-20 20:50
标题: 求大神们解救
红色字的求解释,谢谢大神们!


The objects are called the
elements of the set. If S is a set having a finite number of elements, then the number of elements is denoted by |S|.

Such a set is often defiined by listing its elements; for example S={-5,0,1} is a set with |S|=3   这个|S|=3 是怎么来的?


20 numbers:
-4  0  0  -3  -2  -1  -1  0  -1  -4  -1  -5  0  -2  0  -5  -2  0  0 -1
它说median=-1 (the average of the 10th and 11th numbers)
可是我第十个跟第十一个数字应该是 -4 和 -1 ,他们的平均数不是-1 啊?

作者: cheer115    时间: 2018-9-20 20:57
set是数列里的元素个数(题目第一句就说了啊),所以,有3个元素,set就是3;

第二道题,要把数字从小到大排列,然后才能找median number(你没有排序……)




欢迎光临 ChaseDream (https://forum.chasedream.com/) Powered by Discuz! X3.3