资 源 简 介
为歌手投票:1、检测出最高分和最低分,然后求出平均分
2、计算各个评委的打分与平均分的差的绝对值,绝对值大的为“差评委”,小的为“好评委”。
在求出最大值和最小值时还要捕获数组b的下标,即得到评委的序号-Vote for the singers: 1, detected the highest points and lowest points, and then calculated the average sub-2, calculation of all the judges scoring with an average score of poor in absolute terms, the absolute value of big is