結果

問題 No.513 宝探し2
ユーザー pluto77pluto77
提出日時 2017-05-21 11:20:43
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 175 bytes
コンパイル時間 504 ms
コンパイル使用メモリ 6,720 KB
実行使用メモリ 24,288 KB
平均クエリ数 2.83
最終ジャッジ日時 2023-09-23 14:07:59
合計ジャッジ時間 3,004 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import sys

def f(m,n):
 print m,n
 sys.stdout.flush()
 res=int(raw_input())
 if res==0:
  sys.exit()
 return res

a=f(0,0)
b=f(1000000000,0)
x=(a-b+100000000)/2
y=a-x
f(x,y)
0