結果

問題 No.514 宝探し3
ユーザー takakintakakin
提出日時 2020-05-24 22:22:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 24,312 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-24 03:35:21
合計ジャッジ時間 1,466 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
23,532 KB
testcase_01 AC 31 ms
24,000 KB
testcase_02 AC 33 ms
24,312 KB
testcase_03 AC 34 ms
23,400 KB
testcase_04 AC 36 ms
24,000 KB
testcase_05 AC 34 ms
23,664 KB
testcase_06 AC 32 ms
24,072 KB
testcase_07 AC 34 ms
23,400 KB
testcase_08 AC 32 ms
23,412 KB
testcase_09 AC 34 ms
23,420 KB
testcase_10 AC 35 ms
23,724 KB
testcase_11 AC 35 ms
23,664 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