为歌手投票: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
CRC码产生器与校验器程序
Features :
Executes in one clock cycle per data word
Any polynomial from 4 to 32 bits
Any data width from 1 to 256 bits
Any initialization value
Synchronous or asynchronous reset-CRC code generator and calibration program Features: Executes in one clock cycle per data word Any polynomial from 4 to 32 bits Any data width from 1 to 256 bits Any initialization value Synchronous or asynchronous reset