P4414 [COCI2006-2007#2] ABC(python3实现)
生活随笔
收集整理的這篇文章主要介紹了
P4414 [COCI2006-2007#2] ABC(python3实现)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
https://www.luogu.com.cn/problem/P4414
""" P4414 [COCI2006-2007#2] ABC 02(python3實(shí)現(xiàn)) https://www.luogu.com.cn/problem/P4414 """ import sysa=list(map(int,input().split()))b=list(input())#print(b)a.sort()for i in range(3):if ord(b[i])-64==1:print(a[0],end=" ")if ord(b[i])-64==2:print(a[1],end=" ")if ord(b[i])-64==3:print(a[2],end=" ")總結(jié)
以上是生活随笔為你收集整理的P4414 [COCI2006-2007#2] ABC(python3实现)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: P5708 【深基2.习2】三角形面积(
- 下一篇: python 结构体数组_python实