文件名称:singersandscores
介绍说明--下载内容均来自于网络,请自行研究使用
为歌手投票: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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
打分.cpp