Leeee1111 / testjudge-asia

0 stars 0 forks source link

D119 Sort #52

Open Leeee1111 opened 5 days ago

Leeee1111 commented 5 days ago
n = int(input())
numbers = list(map(int, input().split()))

sorted_numbers = sorted(numbers)

print(' '.join(map(str, sorted_numbers)))
Leeee1111 commented 5 days ago
n = int(input())
numbers = list(map(int, input().split()))

for i in sorted(numbers):
    print(i,end=" ")