emmmmm,不懂为啥是困难题

代码:

#include<iostream>
#include<cmath>
using namespace std;
int main(){
    int x0,y0,z0,x1,y1,z1;
    double PI=acos(-1);
    while(~scanf("%d%d%d%d%d%d",&x0,&y0,&z0,&x1,&y1,&z1)){
        double t=(x0-x1)*(x0-x1)+(y0-y1)*(y0-y1)+(z0-z1)*(z0-z1);
        double r=sqrt((double)t);
        printf("%.3lf %.3lf\n",r,4.0*PI*r*r*r/3.0);
    }
    return 0;
}