平面最近2点距离
#include<iostream>
#include<float.h>
#include<math.h>
#include<algorithm>
using namespace std;
struct node {
double x,y;
int i;
};
int change[1005];
double dx1,dy1,dx2,dy2;
bool cmp(node m,node n) {
return m.x<n.x;
}
double di
原创
2020-11-21 18:47:59 ·
120 阅读 ·
0 评论