結果

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

テストケース

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

ソースコード

diff #

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

if k==0:
    exit()

# y=k-x

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

if l==0:
    exit()

# y=-(100000-l)+x

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

print(x,y,flush=True)
0