結果

問題 No.1178 Can you draw a Circle?
ユーザー uni_pythonuni_python
提出日時 2020-08-30 21:16:02
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 856 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 71,684 KB
最終ジャッジ日時 2023-08-09 18:34:29
合計ジャッジ時間 3,844 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,388 KB
testcase_01 AC 70 ms
71,280 KB
testcase_02 AC 71 ms
71,592 KB
testcase_03 AC 70 ms
71,592 KB
testcase_04 AC 72 ms
71,564 KB
testcase_05 AC 72 ms
71,592 KB
testcase_06 AC 71 ms
71,672 KB
testcase_07 AC 72 ms
71,404 KB
testcase_08 AC 72 ms
71,472 KB
testcase_09 AC 72 ms
71,160 KB
testcase_10 AC 71 ms
71,400 KB
testcase_11 AC 72 ms
71,388 KB
testcase_12 AC 73 ms
71,552 KB
testcase_13 AC 71 ms
71,668 KB
testcase_14 AC 71 ms
71,684 KB
testcase_15 AC 73 ms
71,588 KB
testcase_16 AC 74 ms
71,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b,c,d,e,f=MI()
    r2=(f-e + (c*c)/(4*a) + (d*d)/(4*b))/a
    
    print(r2**0.5)


main()
0