結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー |
![]() |
提出日時 | 2020-11-01 15:38:31 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 5,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 141 ms |
コンパイル使用メモリ | 82,184 KB |
実行使用メモリ | 53,868 KB |
最終ジャッジ日時 | 2024-07-22 05:46:39 |
合計ジャッジ時間 | 1,120 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
import mathP=math.pi#print(P)C=int(input())if C==0:print(0)exit()In,Out=map(int,input().split())r = (Out - In)/2R = (Out + In)/2Size=(r**2)*R*2*(P**2)print(Size*C)