N = int(input())
scores = list(map(int, input().split()))
M = scores[0]
sum = 0
for i in scores:
if i > M:
M = i
for i in range(N):
ns = scores[i]/M*100
sum += ns
avg = sum/N
print(avg)
https://www.acmicpc.net/problem/1546
'Algorithm > 백준' 카테고리의 다른 글
[백준(BOJ) / python] 1436 - 영화감독 숌 (0) | 2022.05.13 |
---|---|
[백준(BOJ) / python] 1157 - 단어 공부 (0) | 2021.08.15 |
[백준(BOJ) / python] 11720 - 숫자의 합 (0) | 2021.08.15 |
[백준(BOJ) / python] 10809 - 알파벳 찾기 (0) | 2021.08.15 |
[백준(BOJ) / python] 8958 - OX퀴즈 (0) | 2021.08.15 |