일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- window
- 객체
- 백준 알고리즘
- 조건문
- python
- jQuery
- Pwndbg
- element 조회
- lord of sql injection
- property
- 함수
- 자바스크립트
- 사칙연산
- 백준 파이썬
- 김성엽 대표님
- object
- suninatas 풀이
- 파이썬
- 포인터
- xss game 풀이
- xss game
- github
- burp suite
- 메소드
- 배열
- document
- htmlspecialchars
- IF문
- sql injection
- blind sql injection
Archives
- Today
- Total
power-girl0-0
[ 1546 ] 평균 본문
728x90
import sys
total = 0
num = int(input())
score = list(map(int, sys.stdin.readline().split()))
max = max(score)
for i in range(len(score)):
result=score[i]/max*100
total += result
print("%.2f"%(total/num))
728x90
'백준 알고리즘 > python' 카테고리의 다른 글
[ 8958 ] OX퀴즈 (0) | 2021.03.02 |
---|---|
[ 3052 ] 나머지 (0) | 2021.03.02 |
[ 2577 ] 숫자의 개수 (0) | 2021.03.02 |
[ 2562 ] 최댓값 (0) | 2021.03.02 |
[ 10818 ] 최소, 최대 (0) | 2021.03.02 |
Comments