Scroll indicator done
728x90

https://www.acmicpc.net/problem/11650


n = int(input())
arr = []

for i in range(n):
    x, y = map(int, input().split())
    arr.append([x, y])

arr.sort()
for i in range(n):
    print(arr[i][0], arr[i][1])
728x90

'BAEKJOON > Python' 카테고리의 다른 글

[B9012][괄호][python]  (0) 2021.03.16
[B10816][숫자 카드 2][python]  (0) 2021.03.15
[B15489][파스칼 삼각형][python]  (0) 2021.03.14
[B2609][최대공약수와 최소공배수][python]  (0) 2021.03.12
[B11050][이항 계수 1][python]  (0) 2021.03.12