Skip to content

Commit

Permalink
solve : 2751 수 정렬하기 2
Browse files Browse the repository at this point in the history
  • Loading branch information
wwan13 committed May 6, 2024
1 parent 3458a54 commit 15343c1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions python/boj_2751.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import sys

input = sys.stdin.readline


def solution(n, data):
return sorted(data)


def display_result(answer):
[print(e) for e in answer]


def main():
n = int(input())
data = [int(input()) for _ in range(n)]
answer = solution(n, data)
display_result(answer)


main()

0 comments on commit 15343c1

Please sign in to comment.