[Python] BOJ 2108 - 통계학

https://www.acmicpc.net/problem/2108 2108번: 통계학 첫째 줄에 수의 개수 N(1 ≤ N ≤ 500,000)이 주어진다. 그 다음 N개의 줄에는 정수들이 주어진다. 입력되는 정수의 절댓값은 4,000을 넘지 않는다. www.acmicpc.net 어렵진 않지만 소문제 4개로 나누어져 있고 정리할게 많아서 정리해본다. import sys, collections input = sys.stdin.readline numList = [] T = int(input()) for _ in range(T): n = int(input()) numList.append(n) numList.sort() print(round(sum(numList)/T)) print(numList[int(T/2)])..