結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー a_tena_ten
提出日時 2016-03-20 12:53:08
言語 Python2
(2.7.18)
結果
AC  
実行時間 21 ms / 5,000 ms
コード長 189 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 8,192 KB
最終ジャッジ日時 2024-04-15 19:40:59
合計ジャッジ時間 1,264 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,192 KB
testcase_01 AC 21 ms
8,064 KB
testcase_02 AC 21 ms
8,064 KB
testcase_03 AC 21 ms
8,064 KB
testcase_04 AC 21 ms
8,064 KB
testcase_05 AC 21 ms
8,064 KB
testcase_06 AC 20 ms
8,192 KB
testcase_07 AC 21 ms
8,064 KB
testcase_08 AC 21 ms
8,064 KB
testcase_09 AC 21 ms
8,192 KB
testcase_10 AC 21 ms
8,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

from fractions import Fraction
import math

c=input()
Ri,Ro=map(int,raw_input().split())

r=Fraction(Ro-Ri,2)
gx=Ri+r

print '%12.10f' % (((pow(r,2)*math.pi)*2*math.pi*gx)*c)
0