結果

問題 No.1178 Can you draw a Circle?
ユーザー marroncastlemarroncastle
提出日時 2020-08-21 22:01:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-07 13:52:19
合計ジャッジ時間 1,383 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    a, b, c, d, e, f = map(int, input().split())
    ans = (f - e + c * c / 4 / a + d * d / b / 4) / a
    return ans ** 0.5


print(solve())
0