시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 142 89 75 65.789%

문제

일직선 상에 있지 않은 세 점이 주어진다. 이 세 점을 이용해서 만들 수 있는 원의 원주를 구하는 프로그램을 작성하시오.

입력

입력은 여러 개의 테스트 케이스로 이루어져 있다. 각 테스트 케이스는 한 줄로 이루어져 있고, 실수 x1, y1, x2, y2, x3, y3이 주어진다. 세 점으로 만들 수 있는 원의 지름은 백만을 넘지 않는다.

출력

각 테스트 케이스마다 입력으로 주어진 원의 원주를 소수점 둘째 짜리까지 반올림해 출력한다. 파이의 근사값은 3.141592653589793이다.

예제 입력 1

0.0 -0.5 0.5 0.0 0.0 0.5
0.0 0.0 0.0 1.0 1.0 1.0
5.0 5.0 5.0 7.0 4.0 6.0
0.0 0.0 -1.0 7.0 7.0 7.0
50.0 50.0 50.0 70.0 40.0 60.0
0.0 0.0 10.0 0.0 20.0 1.0
0.0 -500000.0 500000.0 0.0 0.0 500000.0

예제 출력 1

3.14
4.44
6.28
31.42
62.83
632.24
3141592.65
W3sicHJvYmxlbV9pZCI6IjY2MDAiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWM2ZDBcdWM3NTggXHViNDU4XHViODA4IiwiZGVzY3JpcHRpb24iOiI8cD5cdWM3N2NcdWM5YzFcdWMxMjAgXHVjMGMxXHVjNWQwIFx1Yzc4OFx1YzljMCBcdWM1NGFcdWM3NDAgXHVjMTM4IFx1YzgxMFx1Yzc3NCBcdWM4ZmNcdWM1YjRcdWM5YzRcdWIyZTQuIFx1Yzc3NCBcdWMxMzggXHVjODEwXHVjNzQ0IFx1Yzc3NFx1YzZhOVx1ZDU3NFx1YzExYyBcdWI5Y2NcdWI0ZTQgXHVjMjE4IFx1Yzc4OFx1YjI5NCBcdWM2ZDBcdWM3NTggXHVjNmQwXHVjOGZjXHViOTdjIFx1YWQ2Y1x1ZDU1OFx1YjI5NCBcdWQ1MDRcdWI4NWNcdWFkZjhcdWI3YThcdWM3N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