文件名称:cal_score
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2014-05-19
- 文件大小:
- 1.54mb
- 下载次数:
- 0次
- 提 供 者:
- 逍*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
选秀节目打分,分为专家评委和大众评委,score[] 数组里面存储每个评委打的分数,judge_type[] 里存储与 score[] 数组对应的评委类别,judge_type[i] == 1,表示专家评委,judge_type[i] == 2,表示大众评委,n表示评委总数。打分规则如下:专家评委和大众评委的分数先分别取一个平均分(平均分取整),然后,总分 = 专家评委平均分 * 0.6 + 大众评委 * 0.4,总分取整。如果没有大众评委,则 总分 = 专家评委平均分,总分取整。函数最终返回选手得分。-Scoring talent show is divided into expert judges and the public judges, score [] array inside the store each fight judges scores, judge_type [] in storage and score [] array corresponding to the judges category, judge_type [i] = = 1, which means that expert judges, judge_type [i] == 2, said public judges, n represents the total number of judges. Scoring rules are as follows: expert judges and the public judges scores were taken before an average (mean score rounded), then expert judges score = average* 0.4* 0.6+ public judges, Rounding out. If there is no public judges, the expert judges score = average points score rounding. Function eventually return players to score.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cal_score\cal_score\cal_score.cpp
.........\.........\cal_score.vcxproj
.........\.........\cal_score.vcxproj.filters
.........\.........\cal_score.vcxproj.user
.........\.........\Debug\cal_score.exe.embed.manifest
.........\.........\.....\cal_score.exe.embed.manifest.res
.........\.........\.....\cal_score.exe.intermediate.manifest
.........\.........\.....\cal_score.lastbuildstate
.........\.........\.....\cal_score.log
.........\.........\.....\cal_score.obj
.........\.........\.....\cal_score.vcxprojResolveAssemblyReference.cache
.........\.........\.....\cal_score.write.1.tlog
.........\.........\.....\cal_score_manifest.rc
.........\.........\.....\CL.read.1.tlog
.........\.........\.....\CL.write.1.tlog
.........\.........\.....\link.7000.read.1.tlog
.........\.........\.....\link.7000.write.1.tlog
.........\.........\.....\link.7588.read.1.tlog
.........\.........\.....\link.7588.write.1.tlog
.........\.........\.....\link.read.1.tlog
.........\.........\.....\link.write.1.tlog
.........\.........\.....\mt.read.1.tlog
.........\.........\.....\mt.write.1.tlog
.........\.........\.....\rc.read.1.tlog
.........\.........\.....\rc.write.1.tlog
.........\.........\.....\vc100.idb
.........\.........\.....\vc100.pdb
.........\cal_score.sdf
.........\cal_score.sln
.........\cal_score.suo
.........\Debug\cal_score.exe
.........\.....\cal_score.exe.manifest
.........\.....\cal_score.ilk
.........\.....\cal_score.pdb
.........\ipch\cal_score-61c1d516\cal_score-f096d037.ipch
.........\cal_score\Debug
.........\ipch\cal_score-61c1d516
.........\cal_score
.........\Debug
.........\ipch
cal_score