摘要: #include<cstdio> #include<cmath> struct node { double x,y; int bl;//bl属性储存每个点属于哪个簇 }a[105],b[105],c[15];//a代表原始的点,b表示重新分配后的簇,c代表簇中心 double dist(node x 阅读全文
posted @ 2022-04-22 09:12 Excim 阅读(33) 评论(0) 推荐(0) 编辑