답안 #493258

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
493258 2021-12-10T14:09:49 Z Menotim Prosjek (COCI18_prosjek) Python 3
50 / 50
14 ms 2800 KB
n = int(input())
notas = sorted([int(input()) for i in range(n)])
media = notas.pop(0)
while notas:
    media = (media + notas.pop(0))/2
print(media)
# 결과 실행 시간 메모리 Grader output
1 Correct 12 ms 2780 KB Output is correct
2 Correct 14 ms 2800 KB Output is correct
3 Correct 13 ms 2800 KB Output is correct
4 Correct 14 ms 2772 KB Output is correct
5 Correct 14 ms 2716 KB Output is correct
6 Correct 13 ms 2764 KB Output is correct
7 Correct 13 ms 2764 KB Output is correct
8 Correct 13 ms 2764 KB Output is correct
9 Correct 12 ms 2700 KB Output is correct
10 Correct 13 ms 2764 KB Output is correct