結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー yuki2006yuki2006
提出日時 2015-02-11 21:19:02
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 81 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 1,874 ms
コンパイル使用メモリ 76,544 KB
実行使用メモリ 75,648 KB
最終ジャッジ日時 2024-04-15 19:33:07
合計ジャッジ時間 2,852 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
75,648 KB
testcase_01 AC 78 ms
75,396 KB
testcase_02 AC 78 ms
75,168 KB
testcase_03 AC 77 ms
75,164 KB
testcase_04 AC 76 ms
75,252 KB
testcase_05 AC 81 ms
75,392 KB
testcase_06 AC 78 ms
75,320 KB
testcase_07 AC 79 ms
75,308 KB
testcase_08 AC 80 ms
75,520 KB
testcase_09 AC 79 ms
75,392 KB
testcase_10 AC 79 ms
75,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

C = int(raw_input())
Ri, Ro = map(int, raw_input().split())

r = 1.0 * (Ro - Ri) / 2
l = 1.0 * (Ro + Ri) / 2

print C * r * r * math.pi * 2 * l * math.pi
0