반응형
# @Author YoungMinKim
# baekjoon
import sys
N = int(sys.stdin.readline())
tmp = []
for _ in range(N):
x,y = map(int,sys.stdin.readline().split())
tmp.append((y,x))
result = sorted(tmp)
for i,j in result:
print(j,i)
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 11718 (0) | 2020.09.13 |
---|---|
baekjoon - python - 11654 (0) | 2020.09.13 |
baekjoon - python - 11650 (0) | 2020.09.13 |
baekjoon - python - 11399 (0) | 2020.09.13 |
baekjoon - python - 11050 (0) | 2020.09.13 |
댓글