#include <bits/stdc++.h>
using namespace std;
struct plant{
int id;
double x,y,z;
plant(int id,double x,double y,double z):id(id),x(x),y(y),z(z){}
};
struct coreDISTANCE{
int id;
double distance;
coreDISTANCE(int id,double distance):id(id),distance(di...