結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー lam6er
提出日時 2025-03-20 21:03:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 369 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 82,664 KB
実行使用メモリ 53,232 KB
最終ジャッジ日時 2025-03-20 21:03:35
合計ジャッジ時間 1,185 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

# Create a dictionary mapping each subtitle to its corresponding numbering
sub_to_num = {
    "Zelkova and Cherry": "1st",
    "BANNED CONTEST": "2nd",
    "Stray Bullet": "3rd",
    "Early Summer Rain": "4th",
    "Do you know Cherry Contest?": "Alpha"
}

# Read the input and output the corresponding value from the dictionary
S = input().strip()
print(sub_to_num[S])
0