結果

問題 No.513 宝探し2
ユーザー jamadjamad
提出日時 2017-09-01 15:24:29
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 10,544 KB
実行使用メモリ 24,284 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-24 01:32:05
合計ジャッジ時間 1,481 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
23,556 KB
testcase_01 AC 35 ms
23,420 KB
testcase_02 AC 34 ms
23,556 KB
testcase_03 AC 34 ms
23,776 KB
testcase_04 AC 34 ms
24,264 KB
testcase_05 AC 33 ms
23,540 KB
testcase_06 AC 34 ms
23,656 KB
testcase_07 AC 36 ms
23,684 KB
testcase_08 AC 38 ms
24,284 KB
testcase_09 AC 35 ms
23,532 KB
testcase_10 AC 33 ms
23,700 KB
testcase_11 AC 32 ms
23,964 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,flush=True)
0