[백준] 1546번 : 평균

letsbebrave·2022년 1월 2일
0

codingtest

목록 보기
16/146

문제

풀이

N = int(input())
n = list(map(int,input().split()))
M = max(n)
sum = 0

for i in range(N):
    n[i] = n[i]/M*100
    sum += n[i]

print(sum/N)
profile
그게, 할 수 있다고 믿어야 해

0개의 댓글