KDT 수업/백준 문풀

백준 11650 풀이

니니는 진짜 전설이다 2023. 3. 10. 17:14
N = int(input())
dot = []
for i in range(N):
    x, y = map(int,input( ).split(' '))
    dot.append((x, y))

dot.sort()

for x, y in dot:
    print(x, y)

'KDT 수업 > 백준 문풀' 카테고리의 다른 글

백준 1427 풀이  (0) 2023.03.10
백준 2920 풀이  (0) 2023.03.10
백준 2750 풀이  (0) 2023.03.10