結果
問題 | No.1178 Can you draw a Circle? |
ユーザー | Shirapon_pon |
提出日時 | 2021-11-22 10:47:10 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 188 bytes |
コンパイル時間 | 323 ms |
コンパイル使用メモリ | 86,928 KB |
実行使用メモリ | 79,060 KB |
最終ジャッジ日時 | 2023-09-06 01:38:36 |
合計ジャッジ時間 | 3,336 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 72 ms
71,228 KB |
testcase_02 | AC | 73 ms
71,468 KB |
testcase_03 | WA | - |
testcase_04 | AC | 72 ms
71,408 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 73 ms
70,956 KB |
testcase_08 | AC | 74 ms
71,184 KB |
testcase_09 | AC | 73 ms
71,504 KB |
testcase_10 | AC | 72 ms
71,412 KB |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | RE | - |
testcase_14 | RE | - |
testcase_15 | RE | - |
testcase_16 | WA | - |
ソースコード
import math a, b, c, d, e, f = map(int, input().split()) # a(x+c/2a)^2 + b(y+d/2b)^2 = a*(c/2a)^2 + b*(d/2b)^2 - e + f r = math.sqrt(a*(c/(2*a))**2 + b*(d/(2*b))**2 - e + f) print(r)