結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
23,352 KB
testcase_01 AC 39 ms
24,180 KB
testcase_02 AC 35 ms
23,788 KB
testcase_03 AC 32 ms
24,216 KB
testcase_04 AC 32 ms
24,264 KB
testcase_05 AC 33 ms
23,976 KB
testcase_06 AC 34 ms
23,824 KB
testcase_07 AC 35 ms
23,664 KB
testcase_08 AC 34 ms
23,968 KB
testcase_09 AC 34 ms
23,572 KB
testcase_10 AC 33 ms
23,640 KB
testcase_11 AC 32 ms
24,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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