結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー syunsukesyunsuke
提出日時 2020-11-01 15:38:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 5,000 ms
コード長 184 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 86,688 KB
実行使用メモリ 71,448 KB
最終ジャッジ日時 2023-09-29 11:17:49
合計ジャッジ時間 1,739 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,236 KB
testcase_01 AC 69 ms
71,296 KB
testcase_02 AC 69 ms
70,992 KB
testcase_03 AC 67 ms
71,036 KB
testcase_04 AC 68 ms
71,192 KB
testcase_05 AC 67 ms
71,172 KB
testcase_06 AC 68 ms
71,224 KB
testcase_07 AC 66 ms
71,316 KB
testcase_08 AC 68 ms
70,968 KB
testcase_09 AC 66 ms
71,448 KB
testcase_10 AC 67 ms
71,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
P=math.pi
#print(P)

C=int(input())
if C==0:
    print(0)
    exit()
In,Out=map(int,input().split())
r = (Out - In)/2
R = (Out + In)/2

Size=(r**2)*R*2*(P**2)
print(Size*C)
0