結果
| 問題 | No.2925 2-Letter Shiritori |
| コンテスト | |
| ユーザー |
hibit_at
|
| 提出日時 | 2024-10-12 15:37:22 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 349 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 13,568 KB |
| 平均クエリ数 | 15.92 |
| 最終ジャッジ日時 | 2026-09-14 21:30:20 |
| 合計ジャッジ時間 | 2,373 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | AC * 1 RE * 9 |
ソースコード
from string import ascii_lowercase
a = ascii_lowercase
from collections import defaultdict
mp = defaultdict(list)
for s in a:
for t in a:
mp[s].append(s+t)
alpha = input()
while True:
print('?',mp[alpha].pop())
res = input()
if res == '! WIN':
exit()
content = res.split()[1]
alpha = content[1]
hibit_at