結果

問題 No.514 宝探し3
ユーザー tookunn_1213tookunn_1213
提出日時 2017-05-06 10:10:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 24,152 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-23 13:56:48
合計ジャッジ時間 1,560 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
24,052 KB
testcase_01 AC 35 ms
24,120 KB
testcase_02 AC 35 ms
24,004 KB
testcase_03 AC 34 ms
23,732 KB
testcase_04 AC 35 ms
23,908 KB
testcase_05 AC 37 ms
24,140 KB
testcase_06 AC 39 ms
24,152 KB
testcase_07 AC 35 ms
24,144 KB
testcase_08 AC 36 ms
24,100 KB
testcase_09 AC 37 ms
23,884 KB
testcase_10 AC 36 ms
23,948 KB
testcase_11 AC 36 ms
23,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
def query(p):
	print(p[0],p[1])
	sys.stdout.flush()
	ret = int(input())
	if ret == 0:
		sys.exit(0)
	return ret
a=query((0,0))
b=query(((a,0)))
query((a-b//2,b//2))
0