题解 | #字符串排序#
字符串排序
http://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
l = []
while True:
try:
lines = int(input())
for i in range(lines):
da = input()
l.append(da)
except:
break
for j in sorted(l):
print(j)