結果

問題 No.514 宝探し3
ユーザー rpy3cpprpy3cpp
提出日時 2017-05-05 23:07:10
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 227 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 27,600 KB
平均クエリ数 2.75
最終ジャッジ日時 2024-07-16 13:08:31
合計ジャッジ時間 1,612 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

M = 1000000000
print(0, 0)
A = int(input())  # AX + AY
if A != 0:
    print(0, M)
    B = int(input())  # AX + M - AY
    if B != 0:
        AX = (A + B - M)//2
        AY = A - AX
        print(AX, AY)
        C = int(input())
0