# define struct { double x, y;} point;double distance(point a, b){ return (sqrt( (a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y) ));}