implement divide and conquer
This commit is contained in:
@@ -23,5 +23,5 @@
|
||||
* @return Retorna la distancia entre los 2 puntos
|
||||
*/
|
||||
double distance(point_t point1, point_t point2) {
|
||||
return sqrt(pow(point1.x - point2.x, 2) + pow(point1.y - point2.y, 2));
|
||||
return pow(point1.x - point2.x, 2) + pow(point1.y - point2.y, 2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user