結果

問題 No.514 宝探し3
ユーザー GrayCoderGrayCoder
提出日時 2018-06-30 19:00:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 24,240 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-23 16:09:13
合計ジャッジ時間 1,503 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
23,700 KB
testcase_01 AC 39 ms
23,520 KB
testcase_02 AC 39 ms
24,240 KB
testcase_03 AC 39 ms
23,772 KB
testcase_04 AC 39 ms
23,628 KB
testcase_05 AC 38 ms
23,424 KB
testcase_06 AC 38 ms
23,580 KB
testcase_07 AC 39 ms
24,240 KB
testcase_08 AC 39 ms
23,368 KB
testcase_09 AC 39 ms
23,412 KB
testcase_10 AC 39 ms
23,628 KB
testcase_11 AC 38 ms
23,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    print(0, 0)
    x0 = int(input())
    if x0 == 0:
        return

    print(1000000000, 0)
    x1 = int(input())
    if x1 == 0:
        return

    y = (x0 + x1 - 1000000000) // 2
    x = x0 - y
    print(x, y)

main()
0