結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー utsumidaisukeutsumidaisuke
提出日時 2018-12-13 12:10:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 486 ms / 5,000 ms
コード長 130 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 44,448 KB
最終ジャッジ日時 2024-04-15 19:52:16
合計ジャッジ時間 7,739 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 486 ms
44,056 KB
testcase_01 AC 482 ms
43,804 KB
testcase_02 AC 484 ms
43,908 KB
testcase_03 AC 484 ms
43,812 KB
testcase_04 AC 472 ms
44,184 KB
testcase_05 AC 470 ms
44,448 KB
testcase_06 AC 467 ms
44,040 KB
testcase_07 AC 484 ms
44,316 KB
testcase_08 AC 471 ms
44,304 KB
testcase_09 AC 477 ms
44,064 KB
testcase_10 AC 478 ms
44,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

c = int(input())
r, R = map(int,input().split())

pi = np.pi

v = pi * (r+R) * (((R-r)/2)**2) * pi

print(c*v)
0