結果

問題 No.2925 2-Letter Shiritori
ユーザー loop0919loop0919
提出日時 2024-06-11 15:40:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 164 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 82,264 KB
実行使用メモリ 70,788 KB
平均クエリ数 26.00
最終ジャッジ日時 2024-10-12 14:00:14
合計ジャッジ時間 2,188 ms
ジャッジサーバーID
(参考情報)
judge3 / judge
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
69,200 KB
testcase_01 AC 89 ms
69,844 KB
testcase_02 AC 97 ms
69,680 KB
testcase_03 AC 92 ms
68,464 KB
testcase_04 AC 91 ms
68,800 KB
testcase_05 AC 92 ms
69,160 KB
testcase_06 AC 94 ms
70,788 KB
testcase_07 AC 90 ms
69,504 KB
testcase_08 AC 88 ms
68,896 KB
testcase_09 AC 90 ms
69,192 KB
testcase_10 AC 89 ms
69,600 KB
testcase_11 AC 91 ms
69,140 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

alpha = input()
pre = alpha

while True:
	print('?', pre + alpha, flush=True)
	
	cmd, T = input().split()
	
	if cmd == '?':
		pre = T[1]
	
	if cmd == '!':
		exit()
0