题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n = int(input())
a= []
for i in range(0,n,1):
a.append(input())
a.sort()
for i in a:
print(i)
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n = int(input())
a= []
for i in range(0,n,1):
a.append(input())
a.sort()
for i in a:
print(i)
相关推荐