C = int(input())
student_lists = list()
for _i in range(C):
student_lists.append(list(map(int, input().split(' '))))
for student_list in student_lists:
num_of_student = student_list[0]
mean = sum(student_list[1:]) / num_of_student
count = 0
for score in student_list[1:]:
if(mean < score):
count += 1
print('%.3f' % ((count / num_of_student) * 100) + '%')
'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글
Baekjoon 4673번(python) (0) | 2019.04.28 |
---|---|
Baekjoon 1110번(python) (0) | 2019.04.27 |
Baekjoon 1546번(python) (0) | 2019.04.27 |
Baekjoon 10871번(python) (0) | 2019.04.27 |
Baekjoon 10817번(python) (0) | 2019.04.27 |