結果
問題 |
No.1178 Can you draw a Circle?
|
ユーザー |
👑 ![]() |
提出日時 | 2020-08-21 21:40:15 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 132 ms / 2,000 ms |
コード長 | 288 bytes |
コンパイル時間 | 502 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 80,256 KB |
最終ジャッジ日時 | 2024-11-07 13:45:31 |
合計ジャッジ時間 | 3,576 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
from decimal import * a,b,c,d,e,f = input().split() a = Decimal(a) b = Decimal(b) c = Decimal(c) d = Decimal(d) e = Decimal(e) f = Decimal(f) f -= e c /= a d /= a f /= a f += (c**Decimal('2'))/Decimal('4') f += (d**Decimal('2'))/Decimal('4') #print (a,f) print (f**Decimal('0.5'))