結果

問題 No.1178 Can you draw a Circle?
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-04-13 21:54:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 2,042 ms
コンパイル使用メモリ 86,500 KB
実行使用メモリ 71,824 KB
最終ジャッジ日時 2023-09-12 13:06:24
合計ジャッジ時間 2,422 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,772 KB
testcase_01 AC 71 ms
71,720 KB
testcase_02 AC 71 ms
71,764 KB
testcase_03 AC 72 ms
71,780 KB
testcase_04 AC 71 ms
71,568 KB
testcase_05 AC 71 ms
71,692 KB
testcase_06 AC 71 ms
71,348 KB
testcase_07 AC 71 ms
71,720 KB
testcase_08 AC 73 ms
71,284 KB
testcase_09 AC 72 ms
71,448 KB
testcase_10 AC 72 ms
71,720 KB
testcase_11 AC 72 ms
71,756 KB
testcase_12 AC 72 ms
71,564 KB
testcase_13 AC 73 ms
71,824 KB
testcase_14 AC 70 ms
71,764 KB
testcase_15 AC 72 ms
71,524 KB
testcase_16 AC 72 ms
71,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d,e,f = map(int,input().split())

#ax^2+by^2+cx+dy=f
#a(x+c/2a)^2+b(y+d/2b)^2 = f+c^2/4a+d^2/4b

print(((f-e+c**2/4/a+d**2/4/b)/a)**0.5)
0