티스토리 뷰


num = int(input())
score = list(map(int,input().split()))
mx = max(score)
ave = 0

for Repeat in range(0, num):
	score[Repeat] = score[Repeat] / mx * 100
	ave += score[Repeat]
print("%.2f" %(ave/num))	


댓글
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Total
Today
Yesterday