結果

問題 No.89 どんどんドーナツどーんといこう!
ユーザー takakintakakin
提出日時 2020-03-31 00:12:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 8,304 KB
最終ジャッジ日時 2023-09-05 12:07:08
合計ジャッジ時間 1,170 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,220 KB
testcase_01 WA -
testcase_02 AC 16 ms
8,132 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 16 ms
8,100 KB
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda: sys.stdin.readline().rstrip()
c=int(input())
r1,r2=map(int,input().split())
r=(r1+r2)/2
import math
p=math.pi
print(2*p*r*(r2-r)**2*p)
0