반응형
https://www.acmicpc.net/problem/1181
# @Author YoungMinKim
# baekjoon
import sys
N = int(sys.stdin.readline())
dic = []
for _ in range(N):
x = sys.stdin.readline().split()[0]
dic.append((len(x),x))
sort_dic = sorted(set(dic))
for i in sort_dic:
print(i[1])
반응형
'백준 문제풀이' 카테고리의 다른 글
python - baekjoon - 9012 (0) | 2020.09.05 |
---|---|
python - baekjoon - 10814 (0) | 2020.09.05 |
baekjoon - python - 10773 (0) | 2020.09.05 |
baekjoon - python - 10952 (0) | 2020.09.05 |
baekjoon - python - 10951 (0) | 2020.09.05 |
댓글