結果
| 問題 | No.2925 2-Letter Shiritori |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-12 15:44:45 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 117 ms / 2,000 ms |
| + 1µs | |
| コード長 | 187 bytes |
| 記録 | |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 80,512 KB |
| 実行使用メモリ | 54,656 KB |
| 平均クエリ数 | 26.00 |
| 最終ジャッジ日時 | 2026-09-14 21:39:02 |
| 合計ジャッジ時間 | 2,125 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
st=input()
s=st
S=set(list("qwertyuiopasdfghjklzxcvbnm"))
while 1:
for e in S:
ans=s[-1]+st
break
S-={e}
print("?",ans,flush=1)
f,s=map(str,input().split())
if f=="!":
exit()