結果
問題 | No.89 どんどんドーナツどーんといこう! |
ユーザー |
|
提出日時 | 2017-01-02 09:32:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 5,000 ms |
コード長 | 319 bytes |
コンパイル時間 | 114 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-05 23:02:35 |
合計ジャッジ時間 | 1,154 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
# coding: utf-8# yukicoder No.89 どんどんドーナツどーんといこう!import mathcal = int(input())r_in, r_out = map(int, input().split())danmen = ((r_out - r_in) / 2) ** 2 * math.picircum = (r_in + r_out) * math.pivol_d = danmen * circumtotal_cal = cal * vol_dprint("{:.6f}".format(total_cal))