結果
| 問題 | No.89 どんどんドーナツどーんといこう! |
| コンテスト | |
| ユーザー |
steek79
|
| 提出日時 | 2015-10-12 12:20:59 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 74 ms / 5,000 ms |
| コード長 | 306 bytes |
| 記録 | |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 77,348 KB |
| 最終ジャッジ日時 | 2025-12-03 17:25:02 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
#!/usr/bin/python # -*- coding: utf-8 -*- #ハップス・ギュルダンの定理 #回転体の体積 = 回転させたい図形の面積*重心が動いた長さ import math C = int(raw_input()) Rs, Rl = map(float, raw_input().split()) V = (((Rl - Rs)/2)**2)* math.pi * (Rs + Rl) * math.pi print C * V
steek79