2025年3月12日
摘要: queue q; st[1] = true; // 表示1号点已经被遍历过 q.push(1); while (q.size()) { int t = q.front(); q.pop(); for (int i = h[t]; i != -1; i = ne[i]) { int j = e[i]; 阅读全文
posted @ 2025-03-12 19:37 下头小美 阅读(5) 评论(0) 推荐(0)