CodingTest/SW Expert Academy

[ SW Expert Academy ] 1966. 숫자를 정렬하자

EEOOOO 2022. 11. 15. 17:32

1차 제출. [ 10 / 10 ] PASS

그냥 간단 정렬문제

T = int(input())

for tc in range(1, T+1):
    n = int(input())
    nums = sorted(list(map(int, input().split())))
    print('#{} {}'.format(tc, ' '.join(list(map(str,nums)))))