本地IDE可以运行,但洛谷RE(python)
查看原帖
本地IDE可以运行,但洛谷RE(python)
605626
love_chemistry楼主2023/8/25 13:11

这是我的代码:

num = dict(zip(['A', 'B', 'C'], sorted(list((input().split(' '))))))
result = []
for key in input():
    result.append(num[key])
print(' '.join(result))

问题如上。

2023/8/25 13:11
加载中...