結果

問題 No.89 どんどんドーナツどーんといこう!
コンテスト
ユーザー bellangeldindon
提出日時 2019-05-08 13:19:08
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 197 bytes
記録
コンパイル時間 178 ms
コンパイル使用メモリ 77,452 KB
最終ジャッジ日時 2025-12-04 01:38:58
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import math
C = int(raw_input())
rin, rout = map(float, raw_input().split())
sectionr = (rout - rin) / 2
section = sectionr * sectionr * math.pi
vol = section * math.pi * (rout + rin)
print vol * C
0