Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
49880 | Koddo | 单词排序 | Python3 | 输出格式错误 | 27 MS | 3664 KB | 188 | 2024-07-30 00:14:25 |
st = list(input().split(' ')) st.sort() for i in range(len(st)): if st[i]==' ': pass elif i==0: print(st[i]) elif st[i] != st[i-1]: print(st[i])
She wants to go to Peking University to study Chinese
Chinese
Peking
She
University
go
study
to
wants
Chinese
Peking
She
University
go
study
to
wants
exit code: 0, checker exit code: 0