## 문제  

BOJ 1546 평균

  

## 풀이  

점수중 최댓값을 M

모든 점수를 점수/M*100 으로 고친다.  


점수를 조작한 후 새 평균을 구하는 프로그램.


## 코드  

input_num = input()
input_score = list(map(int,input().split()))
result_score = []
for k in input_score:
result_score += [k/max(input_score)*100]
print(sum(result_score)/len(result_score))
view raw BOJ 1546.py hosted with ❤ by GitHub