結果

問題 No.1429 Simple Dowsing
ユーザー 小野寺健
提出日時 2021-05-19 15:38:04
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 27,864 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-07-17 11:24:46
合計ジャッジ時間 2,143 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

print("? 0 0")
d0 = int(input())

print("? 0 100")
d1 = int(input())

x = (d0 - d1) // 200 + 50
y = int(math.sqrt(d0-x**2))

print("! {} {}".format(x, y))
0