Logo
(追記) (追記ここまで)

33249번 - Circus Tent 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 2048 MB24717413675.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}$.

제한

예제 입력 1

10 5

예제 출력 1

628.31853071795870

예제 입력 2

4.2 3.1415

예제 출력 2

298.51193482924464

힌트

출처

University > Delft University of Technology > Freshmen Programming Contest 2019 C번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /