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

16600번 - Contemporary Art 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 512 MB26292181205783.857%

문제

At the Van Abbemuseum of modern and contemporary art in Eindhoven, we always look to present our muses in the most interesting way possible. Sometimes we have our work cut out for us.

Today we are exploring whether we can modify one of our perfectly-square picture frames (such as the one shown in Figure C.1) to include an electrical filament. The purpose of this filament is so that the image can set itself alight at some opportune and hilarious moment—for example, in the middle of a sale by auction.

You will be responsible for buying the filament to run around the entire perimeter of the artwork. How many centimetres will you need to obtain?

Figure C.1: A test subject for the frame.

입력

The input consists of:

  • One line with an integer a (1 ≤ a ≤ 1018), the area of the image in square centimetres.

출력

Output the total length of filament needed for the frame, in centimetres. Your answer should have an absolute or relative error of at most 10−6.

제한

예제 입력 1

64

예제 출력 1

32.0

예제 입력 2

1234

예제 출력 2

140.51334456

힌트

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > NWERC 2018 연습 세션 PC번

  • 문제를 만든 사람: Per Austrin
(追記) (追記ここまで)

출처

대학교 대회

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

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