#29 백준[1546] 평균
https://www.acmicpc.net/problem/1546
#Solution
a = int(input())
b = list(map(int, input().split()))
c=0
new_point=[]
for i in b:
c += i
avg_old = c/a
for i in b:
new_point.append(i/max(b) * 100)
print("%0.2f" % (sum(new_point)/a))
'Programming [Python] > 백준 알고리즘 솔루션' 카테고리의 다른 글
| #31 백준 파이썬 [1110] 더하기 사이클 (0) | 2019.02.21 |
|---|---|
| #30 백준 파이썬 [4344] 평균은 넘겠지 (0) | 2019.02.21 |
| #28 백준 파이썬 [10871] X보다 작은 수 (0) | 2019.02.21 |
| #27 백준 파이썬 [10817] 세 수 (0) | 2019.02.21 |
| #26 백준 파이썬 [9498] 시험 성적 (0) | 2018.04.17 |