题解 | #字符串排序#
字符串排序
http://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
a = int(input())
b = []
for i in range(a):
x = input()
b.append(x)
b.sort()
print("\n".join(b))
字符串排序
http://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
a = int(input())
b = []
for i in range(a):
x = input()
b.append(x)
b.sort()
print("\n".join(b))
相关推荐