結果

問題 No.2925 2-Letter Shiritori
ユーザー miho-4
提出日時 2024-10-12 15:44:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 81,972 KB
実行使用メモリ 69,320 KB
平均クエリ数 26.00
最終ジャッジ日時 2024-10-12 15:44:50
合計ジャッジ時間 2,401 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

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()
0