<https://www.acmicpc.net/problem/1546>
BOJ/백준 1546 - 평균
n = int(input())score = list(map(int, input().split()))highest_score = max(score)result = 0for scr in score: result += scr / highest_score * 100print(result / n)
'알고리즘 문제 풀기 > BOJ' 카테고리의 다른 글
| BOJ 10171 - 고양이 (0) | 2019.07.16 |
|---|---|
| BOJ 2588 - 곱셈 (0) | 2019.07.15 |
| BOJ백준 10871 - X보다 작은 수 (0) | 2019.04.05 |
| BOJ백준 15552 - 빠른 A+B (0) | 2019.04.04 |
| BOJ백준 11721 - 열 개씩 끊어 출력하기 (0) | 2019.04.04 |