結果
| 問題 |
No.2925 2-Letter Shiritori
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-12 15:56:32 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 298 bytes |
| コンパイル時間 | 189 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,760 KB |
| 平均クエリ数 | 9.00 |
| 最終ジャッジ日時 | 2024-10-12 15:56:50 |
| 合計ジャッジ時間 | 2,066 ms |
|
ジャッジサーバーID (参考情報) |
judge / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 10 |
ソースコード
s=input()
l=[[True for _ in range(26)]for _ in range(26)]
print("?",s+"c",flush=True)
s=input()
while s[0]!="!":
l[ord(s[2])-97][ord(s[3])-97]=False
for i in range(26):
if l[ord(s[3])-97][i]:
print("?",s[3]+chr(i+97),flush=True)
break
s=input()
quit()