結果
問題 |
No.1178 Can you draw a Circle?
|
ユーザー |
![]() |
提出日時 | 2020-08-21 22:21:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 201 bytes |
コンパイル時間 | 376 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-07 14:00:47 |
合計ジャッジ時間 | 1,621 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
import math def main(): a,b,c,d,e,f = map(int,input().split()) child = 4*(a*f-a*e) + c*c + d*d mother = 4*a*a tmp = child/mother ans = math.sqrt(tmp) return ans print(main())