#include <stdio.h>
#include <math.h>
struct Coordinate{
double x;
double y;
double z;
};
int main(void) {
struct Coordinate a= {1,5,2};
struct Coordinate b= {5,3,1};
struct Coordinate c= {2,8,4};
double ab;
double oc;
ab
=sqrt((a.
x-b.
x)*(a.
x-b.
x)+(a.
y-b.
y)*(a.
y-b.
y)+(a.
z-b.
z)*(a.
z-b.
z)); oc
=sqrt(c.
x*c.
x+c.
y*c.
y+c.
z*c.
z); if (ab>oc){
}else{
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CnN0cnVjdCBDb29yZGluYXRlewoJZG91YmxlIHg7CgkJZG91YmxlIHk7CgkJCWRvdWJsZSB6Owp9OwppbnQgbWFpbih2b2lkKSB7CnN0cnVjdAlDb29yZGluYXRlIGE9CXsxLDUsMn07CglzdHJ1Y3QJQ29vcmRpbmF0ZSBiPQl7NSwzLDF9OwoJc3RydWN0IENvb3JkaW5hdGUgYz0JezIsOCw0fTsKCQoJZG91YmxlIGFiOwoJZG91YmxlIG9jOwoJYWI9c3FydCgoYS54LWIueCkqKGEueC1iLngpKyhhLnktYi55KSooYS55LWIueSkrKGEuei1iLnopKihhLnotYi56KSk7CglvYz1zcXJ0KGMueCpjLngrYy55KmMueStjLnoqYy56KTsKCWlmIChhYj5vYyl7CgkJcHJpbnRmKCLplbfjgYTot53pm6Ljga9hYj0lbGZcbiIsYWIpOwoJfWVsc2V7CgkJCXByaW50Zigi6ZW344GE6Led6Zui44Gvb2M9JWxmXG4iLG9jKTsKCX0KCXJldHVybiAwOwp9Cg==