結果
| 問題 |
No.2925 2-Letter Shiritori
|
| コンテスト | |
| ユーザー |
にゃんこ(仮)
|
| 提出日時 | 2024-10-17 23:15:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 213 bytes |
| コンパイル時間 | 507 ms |
| コンパイル使用メモリ | 82,228 KB |
| 実行使用メモリ | 70,516 KB |
| 平均クエリ数 | 26.00 |
| 最終ジャッジ日時 | 2024-10-17 23:15:54 |
| 合計ジャッジ時間 | 2,788 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 1 WA * 9 |
ソースコード
a = input()
chrs = {chr(i): {chr(j) for j in range(97,123)} for i in range(97,123)}
print("? " + a + chrs[a].pop())
while (S := input())[0] != "!":
chrs[S[2]].remove(S[3])
print("? " + S[3] + chrs[S[3]].pop())
にゃんこ(仮)