시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB30324718984.375%

문제

One of Iceland's most popular attractions is Svartifoss ("black waterfall"). Its name derives from the black hexagonal basalt columns that frame the waterfall on either side. Originally formed from cooling lava, centuries of erosion have shaped the columns into their characteristic shape.

A group of geologists at RU went on an excursion to Svartifoss. They took some probes and performed various measurements on the hexagonal rocks that have broken off the basalt walls.

Just as they return to RU, they realise that they have forgotten a crucial measurement. They have determined the area of the hexagonal face, but they did not write down what its perimeter was. Assuming that the face has the shape of a perfect regular hexagon, help the geologists compute the perimeter.

입력

The input consists of:

  • One line with an integer $a$ ($1 \le a \le 10^{18}$), the area of the hexagonal rock face in square centimetres.

출력

Output the perimeter of the rock face in centimetres. Your answer should have an absolute or relative error of at most $10^{-6}$.

예제 입력 1

50

예제 출력 1

26.32148026

예제 입력 2

1234

예제 출력 2

130.76240122

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > NWERC 2021 PB번

  • 문제를 만든 사람: Paul Wild