結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー ssmkzkssmkzk
提出日時 2018-07-17 11:50:12
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 17 ms / 5,000 ms
コード長 142 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 8,032 KB
最終ジャッジ日時 2023-07-28 11:04:16
合計ジャッジ時間 1,056 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,852 KB
testcase_01 AC 16 ms
7,876 KB
testcase_02 AC 17 ms
8,032 KB
testcase_03 AC 17 ms
7,920 KB
testcase_04 AC 15 ms
7,888 KB
testcase_05 AC 16 ms
7,852 KB
testcase_06 AC 15 ms
7,904 KB
testcase_07 AC 15 ms
7,880 KB
testcase_08 AC 15 ms
7,884 KB
testcase_09 AC 15 ms
7,932 KB
testcase_10 AC 16 ms
7,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

C = int(input())
Ri, Ro = map(int, input().split())
r = (Ro - Ri) / 2

ans = 2 * (math.pi**2) * (r**2) * (Ri + r) * C

print(ans)
0