結果

問題 No.513 宝探し2
ユーザー jamadjamad
提出日時 2017-09-01 15:25:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 434 ms
コンパイル使用メモリ 10,596 KB
実行使用メモリ 24,180 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-24 01:32:03
合計ジャッジ時間 1,554 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
23,628 KB
testcase_01 AC 42 ms
23,508 KB
testcase_02 AC 44 ms
23,964 KB
testcase_03 AC 37 ms
23,976 KB
testcase_04 AC 38 ms
23,976 KB
testcase_05 AC 39 ms
24,132 KB
testcase_06 AC 38 ms
24,180 KB
testcase_07 AC 37 ms
23,492 KB
testcase_08 AC 37 ms
23,812 KB
testcase_09 AC 39 ms
23,436 KB
testcase_10 AC 38 ms
23,568 KB
testcase_11 AC 40 ms
23,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print(0,0,flush=True)
a=int(input())
if a==0:exit()
print(0,10**6,flush=True)
b=int(input())
if b==0:exit()
x=(a+b-10**6)//2
print(x,a-x)
0