Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
49888 | Yumonx | 单词排序 | Python3 | Accepted | 31 MS | 3672 KB | 195 | 2024-07-30 02:48:13 |
st = list(input().split(' ')) st.sort() for i in range(len(st)): if st[i] in ['',' ']: pass elif i==0: print(st[i]) elif st[i] != st[i-1]: print(st[i])