题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
while True: try: li = [] num = int(input()) for i in range(num): s = input() li.append(s) re = sorted(li) for it in re: print(it) except: break # 这个页面型的交互实在是太差了,几乎完全没有调试的能力