結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー | syunsuke |
提出日時 | 2020-11-01 15:27:30 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 283 ms |
コンパイル使用メモリ | 86,976 KB |
実行使用メモリ | 71,752 KB |
最終ジャッジ日時 | 2023-09-29 11:16:42 |
合計ジャッジ時間 | 2,020 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 70 ms
71,320 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 71 ms
71,728 KB |
testcase_07 | WA | - |
testcase_08 | AC | 72 ms
71,376 KB |
testcase_09 | AC | 70 ms
71,464 KB |
testcase_10 | AC | 71 ms
71,376 KB |
ソースコード
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 - r Size=(r**2)*R*2*(P**2) print(Size/C*100)