| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 247 | 174 | 136 | 75.556% |
This year, the city of Delft will host the Fiery Pyrotechnical Circus (FPC). The main feature of the FPC is an amazing fire show in a huge cylindrically shaped circus tent, which has a different size every year.
The size of the circus tent depends on how much space the performed acts will need, but there should always be a ring of five meters wide reserved for the seats of the audience around the inner ring. Of all the acts, only the maximum needed diameter of the inner ring and maximum needed height of the tent will need to be considered; all the performed acts that need less space will then also fit in the tent.
Since fire-resistant tent canvas is quite expensive, they want to order exactly enough canvas for the tent to be built. You are given the task to calculate how much tent canvas will be needed to build this year's tent for the FPC.
The input consists of one line with two floating-point numbers.
The first number is the necessary diameter $d$ of the inner ring of the circus tent in meters (with 1ドル \leq d \leq 10^{15}$).
The second number is the necessary height $h$ of the circus tent in meters (with 1ドル \leq h \leq 10^{15}$).
The surface area of the tent canvas in square meters. Your answer should have an absolute or relative error of at most 10ドル^{-6}$.
10 5
628.31853071795870
4.2 3.1415
298.51193482924464