結果
| 問題 |
No.2098 [Cherry Alpha *] Introduction
|
| コンテスト | |
| ユーザー |
sepa38
|
| 提出日時 | 2022-10-14 21:30:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 295 bytes |
| コンパイル時間 | 580 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-06-26 13:13:21 |
| 合計ジャッジ時間 | 1,429 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
ls = ["a", "Zelkova and Cherry", "BANNED CONTEST" ,"Stray Bullet", "Early Summer Rain"]
s = input()
if s in ls:
if ls.index(s) > 3:
print(f"{ls.index(s)}th")
elif ls.index(s) == 1:
print("1st")
elif ls.index(s) == 2:
print("2nd")
else:
print("3rd")
else:
print("Alpha")
sepa38