1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# 평균 : 1 + 2 / 총개수
# 점수의 최댓값 = m
# 점수/m * 100
n = int(input())
sc = input().split(" ")
score = []
for s in sc :
score.append(int(s))
score.sort()
n_score = []
for n_sc in score :
n_score.append(n_sc / score[-1] * 100)
print(sum(n_score)/len(n_score))
|
cs |
히히 이제 실5 가자!
'개발공부 > 문제풀기' 카테고리의 다른 글
백준커리큘럼 (0) | 2022.01.18 |
---|---|
백준 2916번 - 저작권 (0) | 2021.11.18 |
백준 11283번 - 한글2 (0) | 2021.11.11 |
백준 4344번 - 평균은 넘겠지 (0) | 2021.11.10 |
파이썬 입력sys.stdin.readline() (0) | 2021.11.03 |
댓글