알고리즘/배열(array)

백준 1546 python

자코린이 2023. 6. 13. 22:56
list_count = int(input())
score = list(map(int, input().split()))
after_list = []
max_score = max(score)
for i in score:
    after_scroe = float(i / max_score * 100)
    after_list.append(after_scroe)
    

print(float(sum(after_list)) / list_count)