#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
//抄博友程序 海伦公式 三角形外接圆半径公式 背
int main()
{
double x1,y1,x2,y2,x3,y3,a,b,c,p,s,r;
while(cin>>x1>>y1>>x2>>y2>>x3>>y3)
{
a=sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
b=sqrt((x2-x3)*(x2-x3)+(y2-y3)*(y2-y3));
c=sqrt((x3-x1)*(x3-x1)+(y3-y1)*(y3-y1));
p=(a+b+c)/2;
s=sqrt(p*(p-a)*(p-b)*(p-c));
r=(a*b*c)/(4*s);
cout<<fixed<<setprecision(2)<<2.0*r*3.14159265358979<<endl;
}
}