#include <stdio.h>
#include <stdlib.h>
#include <math.h>
typedef struct Point
{
int x;
int y;
int z;
}Point;
//定义一个坐标结构体
double Distance(Point *p1,Point *p2)
{
int x=(p1->x)-(p2->x);
int y=(p1->y)-(p2->y);
int z=(p1->z)-(p2->z);
double temp=(double)(x*x+y*y+z*z);
return sqrt(temp);
}//求两点间的距离