結果

問題 No.514 宝探し3
ユーザー titiatitia
提出日時 2024-01-15 03:37:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 211 bytes
コンパイル時間 1,946 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 25,856 KB
平均クエリ数 2.75
最終ジャッジ日時 2024-01-15 03:37:06
合計ジャッジ時間 3,875 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
25,856 KB
testcase_01 AC 43 ms
25,856 KB
testcase_02 AC 41 ms
25,856 KB
testcase_03 AC 51 ms
25,856 KB
testcase_04 AC 41 ms
25,856 KB
testcase_05 AC 42 ms
25,856 KB
testcase_06 AC 41 ms
25,856 KB
testcase_07 AC 42 ms
25,856 KB
testcase_08 AC 52 ms
25,856 KB
testcase_09 AC 45 ms
25,856 KB
testcase_10 AC 41 ms
25,856 KB
testcase_11 AC 72 ms
25,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print(0,0,flush=True)
k=int(input())

if k==0:
    exit()

# y=k-x

print(1000000000,0,flush=True)
l=int(input())

if l==0:
    exit()

# y=-(1000000000-l)+x

x=(1000000000+k-l)//2
y=k-x

print(x,y,flush=True)

0