【C++】已通过 ">#include<math.h> #include<cmath> #include<iomanip> #define PI 3.1415926535 using namespace std; double getR(double x0, double y0, double z0, double x1, double y1, double z1) { return sqrt((x0 - x1)*(x0 - x1) + (y0 - y1)*(y0 - y1) + (z0 - z1)*(z0 - z1)); } double getV(dou...