@[MC_xjhjdA](/user/1227790)
`d=list(''.join(input().strip()))`
原因:[请注意洛谷题目数据可能含有 \r!!](https://www.luogu.com.cn/paste/cb7doh5c)
---
前两行可以写得更简洁一点:
```python
a=sorted(map(int,input().split()))
d=list(input().strip())
```
by Terrible @ 2024-05-12 09:48:46
谢谢
AC了
by MC_xjhjdA @ 2024-05-12 10:48:36