結果

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

テストケース

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

ソースコード

diff #

# -*- Coding: utf-8 -*-
i = 0
A = []
flag = 0
while i < 3:
	if i == 0:
		x,y = 0,0
	elif i == 1:
		x,y = 100000,0
	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