알고리즘 문제풀이

[백준]1546 평균 파이썬 Python

아크몽 2024. 1. 29. 01:29
num = int(input())
score = list(map(int,input().split()))
max_score = max(score)
print(sum(score) / max_score * 100 / num)

말을 어렵게 했지, 식을 정리하니 쉬웠다.