結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー |
|
提出日時 | 2016-02-12 21:04:15 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 5,000 ms |
コード長 | 195 bytes |
コンパイル時間 | 234 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,784 KB |
最終ジャッジ日時 | 2024-10-05 22:50:07 |
合計ジャッジ時間 | 651 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#coding: utf-8##yuki_89import mathc=int(raw_input())r=map(int,raw_input().split())rin=r[0]rout=r[1]r1=(rout+rin)*0.5r2=(rout-rin)*0.5cal=c*2.0*math.pi**2*r1*r2**2print "%.10f" % cal