Pro.ID10289 TitleClass Statistics Title链接http://10.20.2.8/oj/exercise/problem?problem_id=10289 AC0 Submit0 Ratio- 时间&空间限制描述The new principal of Woop Woop Public plans to meet the teaching team to discuss the performance of the classes/teachers and, being a bean counting fundamentalist, he wants to arm himself with some statistics for the meetings. Your task is to write a program that reads the pupils' marks in each class and generates performance reports for the principal prior to the meetings. 输入The input starts with an integer K (1 ≤ K ≤ 100) indicating the number of classes on a line by itself. Each of the following K lines gives a class's data, which starts with an integer N (2 ≤ N ≤ 50) indicating the number of pupils in the class. The number of pupils is followed by their marks, given as integers, in the range of zero to one hundred, separated by single spaces. 输出Description The new principal of Woop Woop Public plans to meet the teaching team to discuss the performance of the classes/teachers and, being a bean counting fundamentalist, he wants to arm himself with some statistics for the meetings. Your task is to write a program that reads the pupils' marks in each class and generates performance reports for the principal prior to the meetings. Input The input starts with an integer K (1 ≤ K ≤ 100) indicating the number of classes on a line by itself. Each of the following K lines gives a class's data, which starts with an integer N (2 ≤ N ≤ 50) indicating the number of pupils in the class. The number of pupils is followed by their marks, given as integers, in the range of zero to one hundred, separated by single spaces. Output The report for each class consists of two lines.
Sample Input 2 Sample Output Class 1 Source 样例输入2 样例输出Class 1 作者 |