結果
| 問題 | No.2925 2-Letter Shiritori |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-12 15:56:32 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 298 bytes |
| 記録 | |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 平均クエリ数 | 12.00 |
| 最終ジャッジ日時 | 2026-09-14 21:53:22 |
| 合計ジャッジ時間 | 1,769 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()