摘要: C:架线方案 考察:最小生成树 Prim解决: #include <iostream> #include <cstring> using namespace std; const int N = 1010, INF = 0x3f3f3f3f; int k, n, m; //k组数,n个城市,m条线 阅读全文
posted @ 2024-03-20 18:26 GeekDragon 阅读(1) 评论(0) 推荐(0) 编辑