반응형
https://www.acmicpc.net/problem/10989
# @Author YoungMinKim
# baekjoon
import sys
N=int(sys.stdin.readline())
result = [0]*10001
for _ in range(N):
a=int(sys.stdin.readline())
result[a] = result[a]+1
for i in range(10001):
if result[i] != 0:
for j in range(result[i]):
print(i)
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 11004 (0) | 2020.09.13 |
---|---|
baekjoon - python - 10998 (0) | 2020.09.06 |
baekjoon - python - 10987 (0) | 2020.09.06 |
baekjoon - python - 10953 (0) | 2020.09.06 |
baekjoon - python - 10610 (0) | 2020.09.06 |
댓글