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

30886번 - Artistic Souvenir 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 1024 MB31526223585.455%

문제

A typical circular design on a square Delft tile.

Delft is world-famous for its blue and white pottery (also known as Delfts blauw), and the earliest pieces date back to the 16th century.

During a stroll in Delft, Christiaan sees a lot of beautifully painted pottery objects like plates, tiles, and vases in the souvenir shops. Inspired by those, he decides to hand paint such a square tile himself. He has already picked a circular design he wants to place in the middle of the tile. He would like to leave a margin of at least 1ドル \text{cm}$ around the design. Now, Christiaan just needs to buy a square tile of a suitable size.

Given the area of the circular design, what is the minimum area of the square tile?

입력

The input consists of:

  • One line with an integer $a$ (1ドル \leq a\leq 10^{15}$), the area of the circular design in $\text{cm}^2$.

출력

Output the minimum area of the square tile in $\text{cm}^2$ that is needed for a design with area $a$ if Christiaan wants to leave a margin of at least 1ドル \text{cm}$ around the design.

Your answer should have an absolute or relative error of at most 10ドル^{-9}$.

제한

예제 입력 1

42

예제 출력 1

86.7269920446

예제 입력 2

20231125

예제 출력 2

25779373.7414336279

노트

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > NWERC 2023 연습 세션 PA번

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

출처

대학교 대회

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

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