結果

問題 No.513 宝探し2
ユーザー 6soukiti296soukiti29
提出日時 2017-05-06 11:22:21
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 10,760 KB
実行使用メモリ 24,372 KB
平均クエリ数 3.75
最終ジャッジ日時 2023-09-23 13:56:55
合計ジャッジ時間 2,626 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 36 ms
23,868 KB
testcase_08 RE -
testcase_09 WA -
testcase_10 AC 36 ms
24,336 KB
testcase_11 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- Coding: utf-8 -*-
i = 0
A = []
flag = 0
while i < 3:
	if i == 0:
		x,y = 0,0
	elif i == 1:
		x,y = 0,100000
	elif i == 2:
		x,y = 100000,100000
	print(x,y)
	try:
		l = int(input())
	except ValueError:
		flag = 1
		break
	A.append(l)
	i += 1
if flag == 0:
	Y = (A[0] + A[1] - 100000) // 2
	X = (A[1] + A[2] - 100000) // 2
	print(X,Y)
0