結果
問題 | No.1429 Simple Dowsing |
ユーザー | 小野寺健 |
提出日時 | 2021-05-19 15:38:04 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 167 bytes |
コンパイル時間 | 128 ms |
コンパイル使用メモリ | 10,632 KB |
実行使用メモリ | 24,504 KB |
平均クエリ数 | 3.00 |
最終ジャッジ日時 | 2023-09-24 10:34:20 |
合計ジャッジ時間 | 1,723 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 38 ms
23,852 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 35 ms
23,756 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | AC | 37 ms
24,068 KB |
testcase_14 | WA | - |
ソースコード
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))