文件名称:wufenzhi
- 所属分类:
- 数学计算/工程计算
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
小李是计算机学院的教学秘书,每学期都要对每个班级的学生成绩分析统计,其中一项重要工作就是把学生的百分制成绩转换为五分制。在长期的工作中,他发现,采用传统的转换方法,效率较低,耗费他大量的时间和精力,所以他想改变他的工作方法,以提高工作效率。细心的他发现,一个班级中学生成绩分布有一定的规律:一般情况下,中等成绩者最多,占总人数的38 ,其次是良好的占30 ,优秀生占10 ,及格生占16 ,不及格率占10 。根据这一规律,他设计一个理想的转换方案。为了验证方案的高效性,他进行了多次对比测试,测试结果表明,他所设计的转换方案是正确的,并且是最理想的。
【标准输入】
第一行: N M //N为某个班级的人数(1<=N<=10000), M表示测试次数(3<=M<=100)
第二行: X1, X2,,,,Xi,…,Xn 表示N个学生的成绩,第一次测试
第三行: X1, X2,,,,Xi,…,Xn 表示N个学生的成绩,第二次测试
第四行: X1, X2,,,,Xi,…,Xn 表示N个学生的成绩,第三次测试
……..
【标准输出】
每次测试结果输出一行,成绩转换的工作量。
-Li is the teaching of Computer Science, Secretary of classes each semester, students must score in each statistical analysis, one of the major work is the student s percentile score is converted to five-point scale. In the long-term work, he found that the conversion using the traditional method of low efficiency, cost him a lot of time and effort, so he wanted to change his working methods to improve efficiency. Carefully, he found that the distribution of a certain class of Student Performance rules: In general, middle grades are up, the total number of 38 , followed by a good 30 , top students accounted for 10 , 16 students pass , 10 failure rate. According to this law, he designed a good conversion program. To verify the efficiency of the program, he conducted a number of comparative tests, test results show that the program he designed the conversion is correct, and is the best.
】 【Standard input
The first line: NM// N for a class size (1 <= N <= 10000), M said that
【标准输入】
第一行: N M //N为某个班级的人数(1<=N<=10000), M表示测试次数(3<=M<=100)
第二行: X1, X2,,,,Xi,…,Xn 表示N个学生的成绩,第一次测试
第三行: X1, X2,,,,Xi,…,Xn 表示N个学生的成绩,第二次测试
第四行: X1, X2,,,,Xi,…,Xn 表示N个学生的成绩,第三次测试
……..
【标准输出】
每次测试结果输出一行,成绩转换的工作量。
-Li is the teaching of Computer Science, Secretary of classes each semester, students must score in each statistical analysis, one of the major work is the student s percentile score is converted to five-point scale. In the long-term work, he found that the conversion using the traditional method of low efficiency, cost him a lot of time and effort, so he wanted to change his working methods to improve efficiency. Carefully, he found that the distribution of a certain class of Student Performance rules: In general, middle grades are up, the total number of 38 , followed by a good 30 , top students accounted for 10 , 16 students pass , 10 failure rate. According to this law, he designed a good conversion program. To verify the efficiency of the program, he conducted a number of comparative tests, test results show that the program he designed the conversion is correct, and is the best.
】 【Standard input
The first line: NM// N for a class size (1 <= N <= 10000), M said that
(系统自动生成,下载前可以参看下载内容)
下载文件列表
转换五分制
..........\00.cpp
..........\转换五分制.dsp
..........\转换五分制.dsw
..........\转换五分制.ncb
..........\转换五分制.opt
..........\转换五分制.plg
..........\00.cpp
..........\转换五分制.dsp
..........\转换五分制.dsw
..........\转换五分制.ncb
..........\转换五分制.opt
..........\转换五分制.plg