結果

問題 No.1178 Can you draw a Circle?
ユーザー daikisuyamadaikisuyama
提出日時 2020-08-21 22:02:24
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 135 bytes
コンパイル時間 1,218 ms
コンパイル使用メモリ 86,684 KB
実行使用メモリ 71,740 KB
最終ジャッジ日時 2023-08-07 10:03:16
合計ジャッジ時間 3,334 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,232 KB
testcase_01 AC 71 ms
71,188 KB
testcase_02 AC 71 ms
71,424 KB
testcase_03 AC 70 ms
71,332 KB
testcase_04 AC 69 ms
71,212 KB
testcase_05 AC 70 ms
71,232 KB
testcase_06 AC 68 ms
71,372 KB
testcase_07 AC 69 ms
71,280 KB
testcase_08 AC 70 ms
71,372 KB
testcase_09 AC 69 ms
71,384 KB
testcase_10 AC 70 ms
71,208 KB
testcase_11 AC 69 ms
71,412 KB
testcase_12 AC 70 ms
71,520 KB
testcase_13 AC 70 ms
71,220 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 70 ms
71,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
a,b,c,d,e,f=map(int,input().split())
if a<0:
    a,b=-a,-b
c/=a
d/=a
e/=a
f/=a
print(sqrt((c**2+d**2)-4*(e-f))/2)
0