結果

問題 No.513 宝探し2
ユーザー takakintakakin
提出日時 2020-05-24 22:19:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 24,384 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-24 02:38:13
合計ジャッジ時間 1,607 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
24,384 KB
testcase_01 AC 38 ms
24,060 KB
testcase_02 AC 38 ms
23,756 KB
testcase_03 AC 38 ms
23,424 KB
testcase_04 AC 38 ms
23,532 KB
testcase_05 AC 39 ms
23,472 KB
testcase_06 AC 38 ms
23,684 KB
testcase_07 AC 38 ms
24,024 KB
testcase_08 AC 37 ms
24,264 KB
testcase_09 AC 38 ms
24,276 KB
testcase_10 AC 38 ms
24,264 KB
testcase_11 AC 38 ms
24,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda: sys.stdin.readline().rstrip()
print(0,0,flush=True)
d1=int(input())
if d1==0:
  sys.exit
else:
  print(d1,0,flush=True)
  d2=int(input())
  if d2==0:
    sys.exit
  else:
    print(d1-d2//2,d2//2,flush=True)
0