题解P4414 [COCI2006-2007#2] ABC 此店不售此书 · 2021-07-15 16:31:34 · 个人记录 直接诶上代码 s = [int(i) for i in input().split(' ')] s.sort(); str = input() for i in str[0:3]: print(s[ord(i)-ord('A')],end=' ')