結果

問題 No.514 宝探し3
ユーザー rlangevinrlangevin
提出日時 2024-03-13 08:54:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 461 ms
コンパイル使用メモリ 81,572 KB
実行使用メモリ 69,460 KB
平均クエリ数 2.92
最終ジャッジ日時 2024-03-13 08:54:21
合計ジャッジ時間 2,918 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
69,460 KB
testcase_01 AC 58 ms
69,460 KB
testcase_02 AC 57 ms
69,460 KB
testcase_03 AC 57 ms
69,460 KB
testcase_04 AC 58 ms
69,460 KB
testcase_05 AC 58 ms
69,460 KB
testcase_06 AC 58 ms
69,460 KB
testcase_07 AC 58 ms
69,460 KB
testcase_08 AC 59 ms
69,460 KB
testcase_09 AC 58 ms
69,460 KB
testcase_10 AC 59 ms
69,460 KB
testcase_11 AC 59 ms
69,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

print(0, 0)
sys.stdout.flush()
d1 = int(input())
if d1 == 0:
    print(0, 0)
    exit()
    
print(d1, 0)
sys.stdout.flush()
d2 = int(input())
y = d2 // 2
x = d1 - y
print(x, y)    
0