結果
| 問題 | No.2925 2-Letter Shiritori |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-12 18:47:14 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 112 ms / 2,000 ms |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 241 ms |
| コンパイル使用メモリ | 82,184 KB |
| 実行使用メモリ | 70,808 KB |
| 平均クエリ数 | 26.00 |
| 最終ジャッジ日時 | 2024-10-12 18:47:17 |
| 合計ジャッジ時間 | 2,680 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
from collections import defaultdict
a = input()
lib = defaultdict(lambda: False)
lib[a*2] = True
print("?", a*2)
while True:
status, s = input().split()
if status == "!": break
c = s[-1]
print("?", c + a)