結果

問題 No.514 宝探し3
ユーザー titiatitia
提出日時 2024-01-15 03:35:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 1,855 ms
コンパイル使用メモリ 11,648 KB
実行使用メモリ 25,856 KB
平均クエリ数 2.83
最終ジャッジ日時 2024-01-15 03:35:25
合計ジャッジ時間 5,417 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
25,856 KB
testcase_01 AC 52 ms
25,856 KB
testcase_02 AC 51 ms
25,856 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 51 ms
25,856 KB
testcase_09 WA -
testcase_10 WA -
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