結果

問題 No.1178 Can you draw a Circle?
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-07-25 02:37:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 166 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,616 KB
実行使用メモリ 8,008 KB
最終ジャッジ日時 2023-08-07 09:54:16
合計ジャッジ時間 1,158 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,884 KB
testcase_02 AC 15 ms
7,876 KB
testcase_03 WA -
testcase_04 AC 14 ms
7,884 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 14 ms
7,928 KB
testcase_08 AC 14 ms
7,880 KB
testcase_09 AC 15 ms
7,912 KB
testcase_10 AC 15 ms
7,924 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
a, b, c, d, e, f = map(int, input().split())
n, m = sqrt(a), sqrt(b)
ans = f - e
ans += ((c / n) / 2) ** 2 + ((d / m) / 2) ** 2
print(sqrt(ans))
0