#37743: python 紀錄


BensonDC (python戰士)

學校 : 不指定學校
編號 : 240921
來源 : [163.32.78.214]
最後登入時間 :
2024-11-06 14:27:58
a135. 12250 - Language Detection -- UVa12250 | From: [1.175.192.196] | 發表日期 : 2023-10-04 01:44

la={"HELLO":"ENGLISH","HOLA":"SPANISH","HALLO":"GERMAN","BONJOUR":"FRENCH","CIAO":"ITALIAN","ZDRAVSTVUJTE":"RUSSIAN"}
i=0
while True:
    i+=1
    n=input()
    if n=='#':
        break
    t=la[n] if n in la else "UNKNOWN"
    print(f"Case {i}: {t}")

 
ZeroJudge Forum