#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main(){
double x1,y1,z1,x2,y2,z2;
while(cin >> x1 >> y1 >> z1 >> x2 >> y2 >> z2){
double r = sqrt((x2 - x1) * (x2 - x1) + (y1 - y2) * (y1 - y2) + (z1 - z2) * (z1 - z2));
double pi = acos(-1);
double area = pi * r * r * r * 4/3;
printf("%.3f %.3f",r,area);
}
return 0;
}

京公网安备 11010502036488号