結果

問題 No.514 宝探し3
ユーザー qibqib
提出日時 2023-02-07 23:08:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 326 ms
コンパイル使用メモリ 87,232 KB
実行使用メモリ 87,632 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-19 04:24:31
合計ジャッジ時間 2,752 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 103 ms
87,204 KB
testcase_01 AC 97 ms
87,300 KB
testcase_02 AC 97 ms
86,980 KB
testcase_03 AC 99 ms
87,176 KB
testcase_04 AC 97 ms
87,012 KB
testcase_05 AC 97 ms
86,928 KB
testcase_06 AC 97 ms
87,160 KB
testcase_07 AC 97 ms
87,344 KB
testcase_08 AC 98 ms
87,044 KB
testcase_09 AC 98 ms
87,508 KB
testcase_10 AC 98 ms
86,916 KB
testcase_11 AC 99 ms
87,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

def send(s):
  print(s)
  sys.stdout.flush()
  res = int(input())
  if res == 0:
    exit()
  return res

a = send("0 0")
b = send(f"{a} 0")
send(f"{a - b // 2} {b // 2}")
0