铁路防护栏:who can translate it ,thank you

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 18:06:40
It is said that 90% of frosh expect to be above average in their class. You are to provide a reality check.

Input

The first line of standard input contains an integer C, the number of test cases. C data sets follow. Each data set begins with an integer, N, the number of people in the class (1 <= N <= 1000). N integers follow, separated by spaces or newlines, each giving the final grade (an integer between 0 and 100) of a student in the class.

Output

For each case you are to output a line giving the percentage of students whose grade is above average, rounded to 3 decimal places.

这表明90%的新生期望自己在班上处于中上水平,请你提供一个例子来检查.

输入

第一行采用标准输入,包括一个用于表示测试案例班级数目的整形变量C,接着输入每个班的人数(整数)N,(0<N<1001).接着用空格或换行做为分隔符,来分别给出每个班每个学生的期未成绩.

输出
针对每个测试案例班级输出处于中上水平的学生百分比,精确到3位小数.

自己看说明书!这么简单都不懂