結果

問題 No.1487 ぺんぎんさんかっけー
ユーザー Super SolenoidSuper Solenoid
提出日時 2021-05-02 17:21:18
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 175 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-21 02:24:05
合計ジャッジ時間 2,629 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 37
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c = map(int, input().split())

cos = (pow(a,2)+pow(c,2)-pow(b,2))/(2*a*c)
sin = pow((1-pow(cos, 2)),1/2)

G = 8*b/sin
#2R*8, the laws of sine

print(a*c*sin/2-3*a*b*c/G)
0