We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36b5b0e commit d67ba39Copy full SHA for d67ba39
1 file changed
심수연/11주차/260313.py
@@ -0,0 +1,13 @@
1
+# https://www.acmicpc.net/problem/11651
2
+
3
+import sys
4
+input = sys.stdin.readline
5
6
+N = int(input())
7
8
+dots = [list(map(int, input().split())) for _ in range(N)]
9
10
+dots.sort(key=lambda x: (x[1], x[0]))
11
12
+for x, y in dots:
13
+ print(x, y)
0 commit comments