Skip to content

Commit

Permalink
#6 백준 정렬문제
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesuuou committed Feb 18, 2022
1 parent 116d1a8 commit 352cc71
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Boj/정렬/2750.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import sys
input = sys.stdin.readline()

n = int(input())
list = []
for i in range(n):
k = int(input())
list.append(k)

list.sort()
for i in list:
print(i)
11 changes: 11 additions & 0 deletions Boj/정렬/2751.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 2751
# pypy3

n = int(input())
list = []
for i in range(n):
k = int(input())
list.append(k)

for i in sorted(list):
print(i)

0 comments on commit 352cc71

Please sign in to comment.