結果
| 問題 | No.2925 2-Letter Shiritori |
| コンテスト | |
| ユーザー |
Cecil
|
| 提出日時 | 2024-10-13 23:22:00 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 318 bytes |
| 記録 | |
| コンパイル時間 | 299 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 81,736 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-10-13 23:22:03 |
| 合計ジャッジ時間 | 3,203 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 10 |
ソースコード
a = input()
print("?", a)
done = [False for _ in range(26)]
done[0] = True
while True:
f,t = input().split()
if f=="!":
break
id = ord(t[1])-97
done[id] = True
for i in range(26):
if not done[i]:
S = t[1]+"a"
done[i] = True
break
print("?",S)
Cecil