# 코딩 문제 관련/파이썬

백준 11650번(python)

Hwiyong Jo 2019. 7. 19. 13:39


Case = int(input())

coord_list = []
for _ in range(Case):
    coord_list.append(list(map(int, input().split())))
coord_list = sorted(coord_list, key = lambda x : (x[0], x[1]))

for coord in coord_list:
    print(*coord)