题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
while True: try: a = input() b = [] for i in range(int(a)): b.append(input()) b = sorted(b) for j in b: print(j) except: break
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
while True: try: a = input() b = [] for i in range(int(a)): b.append(input()) b = sorted(b) for j in b: print(j) except: break
相关推荐