結果
| 問題 | No.948 Bomb vs Dush |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-12-11 01:40:13 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| + 104µs | |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 95,856 KB |
| 実行使用メモリ | 79,488 KB |
| 最終ジャッジ日時 | 2026-07-28 21:12:44 |
| 合計ジャッジ時間 | 4,650 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 38 |
ソースコード
from math import *
r = float(input())
R = float(input())
theta = 2*asin(r/R)
print("{:.10f}".format(2*pi-theta))
print("{:.10f}".format(pi*((R+r)**2-(R-r)**2)*(1-theta/2/pi)+pi*r**2))