# -*- coding: utf8 -*-
import sys
i = 1
list = []
for s in sys.stdin:
try:
if i!=1:
s = s.strip()
n = s.split(" ")
n.sort()
a = int(list[0])
limit = 0
ans =""
while limit < a:
ans = ans + n[limit]+" "
limit = limit + 1
print(ans)
else:
i = i + 1
list.append(s)
except EOFError:
break
# -*- coding: utf8 -*-
import sys
i = 1
list = []
for s in sys.stdin:
try:
if i!=1:
s = s.strip()
n = s.split(" ")
n.sort()
a = int(list[0])
limit = 0
ans =""
while limit < a:
ans = ans + n[limit]+" "
limit = limit + 1
print(ans)
else:
i = i + 1
list.append(s)
except EOFError:
break
真的看不懂您在寫什麼!!!
# -*- coding: utf8 -*-
import sys
i = 1
list = []
for s in sys.stdin:
try:
if i!=1:
s = s.strip()
n = s.split(" ")
n.sort()
a = int(list[0])
limit = 0
ans =""
while limit < a:
ans = ans + n[limit]+" "
limit = limit + 1
print(ans)
else:
i = i + 1
list.append(s)
except EOFError:
break
真的看不懂您在寫什麼!!!
請問是標題的地方嗎.. 我剛發現我自己都不知道在打甚麼
問題是這個部分((
4
輸入:2 0 20 1
輸出:0 1 2 20
輸入:20 4 3 1
輸出:1 20 3 4